+ Reply to Thread
Results 1 to 4 of 4

Outlook Appointment with Excel VBA (range as body of message)

  1. #1
    Registered User
    Join Date
    11-15-2016
    Location
    cairo, Egypt
    MS-Off Ver
    2016
    Posts
    5

    Outlook Appointment with Excel VBA (range as body of message)

    Hi Everyone,

    i found this code from ExtendOffice to help me set Appointments/reminders in Outlook from Excel.

    Please Login or Register  to view this content.
    I want this code to send a range (or a dynamic range) of cells as the body of the appointment message not just the value of one cell (xRg.Cells(I, 7).Value) , but i have no idea how to do this. Can anyone help me?

    the range can be displayed as is or as an image, which ever is easier.

    Thank you!
    Attached Files Attached Files

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Outlook Appointment with Excel VBA (range as body of message)

    a range (or a dynamic range) of cells as the body of the appointment message
    Which range do you want to use as the body text? It's not evident from the file. Please include an example of what this data would look like.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Registered User
    Join Date
    11-15-2016
    Location
    cairo, Egypt
    MS-Off Ver
    2016
    Posts
    5

    Re: Outlook Appointment with Excel VBA (range as body of message)

    Sorry about that

    The range in this case would be =A7:G17

    thank you

  4. #4
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Outlook Appointment with Excel VBA (range as body of message)

    Something like this to start, to replace the line you currently have assigning xOutItem.Body. But you will have to revise it to the desired format:

    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Excel Data to Outlook Message Body
    By pattongk in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-22-2017, 02:07 AM
  2. Exel Vba to create outlook Appointment and paste in range to the body
    By robtuby in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-09-2016, 12:44 PM
  3. [SOLVED] Paste Excel range into Outlook message body as picture
    By Andrew Entee in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-12-2016, 05:49 PM
  4. Copy Range to Body of Outlook Message and Display
    By Branbran10 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 11-06-2015, 07:29 PM
  5. Help with Copy Range from Tab and Paste In Outlook Email Message Body.
    By N4VBA in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-25-2014, 03:40 PM
  6. [SOLVED] Excel VBA to Create Outlook Appointment - .Body blank
    By rtcwlomax in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-01-2013, 11:50 AM
  7. Body of outlook message to Excel
    By dougmorgan in forum Outlook Programming / VBA / Macros
    Replies: 0
    Last Post: 05-19-2013, 09:11 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1