+ Reply to Thread
Results 1 to 2 of 2

Attach new excel automatically with file format change through outlook

  1. #1
    Registered User
    Join Date
    05-16-2015
    Location
    Mumbai
    MS-Off Ver
    MS 2010
    Posts
    11

    Attach new excel automatically with file format change through outlook

    Hello All,

    I have a excel file which contains some data imported through database and some macros. Can you please assist in some VBA code which will send the copy of that file as normal without any macros and ranges from database through MS Outlook or help in changing the format of file from xlsm to xlsx while sending the same through outlook.
    Please assist me and thanking in advance for your help.

    Regards
    Ravi

  2. #2
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: Attach new excel automatically with file format change through outlook

    Try this, it will convert your sheet to an HTML and place it in the email body
    Please Login or Register  to view this content.
    If I'm not mistaken, you will need this function code as well...
    Please Login or Register  to view this content.
    I use this code in a UserForm so you may have to tweak some things here and there to get it to work properly. I tried to remove all the UserForm related stuff, by may have missed some.
    1N73LL1G3NC3 15 7H3 4B1L17Y 70 4D4P7 70 CH4NG3 - 573PH3N H4WK1NG
    You don't have to add Rep if I have helped you out (but it would be nice), but please mark the thread as SOLVED if your issue is resolved.

    Tom

+ 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. Attach excel automatically in outlook 2010
    By Ravipoojari in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-16-2015, 10:49 AM
  2. Replies: 0
    Last Post: 03-17-2015, 05:45 AM
  3. [SOLVED] Macro to attach the file to Outlook from excel
    By Kiran Kurapati in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 04-07-2014, 12:24 PM
  4. Macro to attach the file to Outlook from excel
    By Kiran Kurapati in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-07-2014, 08:52 AM
  5. Automatically attach Excel spreadsheet to Outlook Email with Macro?
    By nbaj2k in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 08-01-2006, 11:45 AM

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