+ Reply to Thread
Results 1 to 4 of 4

Excel WorkSheet Pasted Into Outlook

  1. #1
    Registered User
    Join Date
    07-31-2009
    Location
    Gilbert, Az
    MS-Off Ver
    Excel 2007
    Posts
    30

    Question Excel WorkSheet Pasted Into Outlook

    Hello Everyone,
    I am new to VB and am having trouble figuring out how to paste an Excel Worksheet into Outlook. I am using '07 versions for both.
    I currently have code that when a button is selected, Outlook opens and has form text that I have entered. I just cant figure out how to get the worksheet pasted into the body of the email after this text. Any help would be so much appreciated. Here is what I have:

    Please Login or Register  to view this content.
    Last edited by dthhal; 08-03-2009 at 11:38 AM.

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: Excel WorkSheet Pasted Into Outlook

    Hello dthhal,

    Welcome to the Forum!

    The worksheet has to either be sent as an attachment or converted to HTML to be included in the email body. However, if the recipient doesn't have Outlook, the workbook won't display like you want or not at all. I don't have Outlook 2007 so I can't guide through the steps.

    Maybe this link will help Mail one worksheet
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  3. #3
    Registered User
    Join Date
    07-31-2009
    Location
    Gilbert, Az
    MS-Off Ver
    Excel 2007
    Posts
    30

    Re: Excel WorkSheet Pasted Into Outlook

    Leith,
    Thank you for the warm welcome, and thank you for the link. I had in fact looked at this code prior to my post. I wish I could just figure out how to merge the 2 codes together. I really like what I have now, if I could only figure out how to add the send one worksheet code to it I would be all set. I'll keep working on it. Thank you again.

  4. #4
    Registered User
    Join Date
    07-31-2009
    Location
    Gilbert, Az
    MS-Off Ver
    Excel 2007
    Posts
    30

    Re: Excel WorkSheet Pasted Into Outlook

    I was able to add text to the body of my message using:

    AdditionalText = AdditionalText & Range("cell")

    Then, in the body, call out the additional text.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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