+ Reply to Thread
Results 1 to 4 of 4

Copying Cells with format from Excel to Outlook

  1. #1
    Registered User
    Join Date
    06-05-2012
    Location
    N/A
    MS-Off Ver
    Excel 2010
    Posts
    8

    Copying Cells with format from Excel to Outlook

    Hi Everyone!

    I'm new to excel-outlook programming so please, bear with me. Basically, my problem is, I'm trying to work on a macro that when used, performs a set of calculations on the excel file and then copies the result to the body of my message. I read through Ron De Bruin's site where he provided an amazing amount of help (Thanks! ). I've managed to get the calculations part done and the problem is that, whenever all the other calculations are performed and it's now time to copy the result to outlook, the conditional formatting doesn't get copied as well. I used Ron's code as a reference and his involves .PasteSpecial, however, I tried to implement it, and still got no luck. Any Ideas? Below is the sample code I based from and is the part where I know the formatting gets lost:


    Please Login or Register  to view this content.
    Last edited by Cutter; 07-07-2012 at 05:56 PM. Reason: Quote tags replaced by Code tags

  2. #2
    Registered User
    Join Date
    06-05-2012
    Location
    N/A
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: Copying Cells with format from Excel to Outlook

    For reference, here's my code along with Ron's which I used to implement, hope you guys can help
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    08-07-2012
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    1

    Re: Copying Cells with format from Excel to Outlook

    Hi, I am having the same problem. Please let me know if you get a solution. Justinn

  4. #4
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Copying Cells with format from Excel to Outlook

    Justin,

    Welcome to the Forum, unfortunately:

    Your post does not comply with Rule 2 of our Forum RULES. Don't post a question in the thread of another member -- start your own thread. If you feel it's particularly relevant, provide a link to the other thread. It makes sense to have a new thread for your question because a thread with numerous replies can be off putting & difficult to pick out relevant replies.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ 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