+ Reply to Thread
Results 1 to 6 of 6

Send an excelsheet using vba

  1. #1
    Forum Contributor
    Join Date
    02-20-2009
    Location
    bristol
    MS-Off Ver
    Excel 2003
    Posts
    882

    Send an excelsheet using vba

    Hi guys

    I am writing the following code to send excelsheet through email but it doesn't work.

    Please Login or Register  to view this content.
    Please Login or Register  to view this content.

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,610

    Re: Send an excelsheet using vba

    Perhaps you will want to have a look at Ron de Bruin's solution
    The mail add-in he built is very easy to use, and the code is available if needed

  3. #3
    Valued Forum Contributor
    Join Date
    09-21-2011
    Location
    Birmingham UK
    MS-Off Ver
    Excel 2003/7/10
    Posts
    2,188

    Re: Send an excelsheet using vba

    You need to copy the function rangetoHTML also.
    Hope this helps

    Sometimes its best to start at the beginning and learn VBA & Excel.

    Please dont ask me to do your work for you, I learnt from Reading books, Recording, F1 and Google and like having all of this knowledge in my head for the next time i wish to do it, or wish to tweak it.
    Available for remote consultancy work PM me

  4. #4
    Forum Contributor
    Join Date
    02-20-2009
    Location
    bristol
    MS-Off Ver
    Excel 2003
    Posts
    882

    Re: Send an excelsheet using vba

    I copied the following code but still doesn't send an email.
    Please Login or Register  to view this content.

  5. #5
    Forum Contributor
    Join Date
    02-20-2009
    Location
    bristol
    MS-Off Ver
    Excel 2003
    Posts
    882

    Re: Send an excelsheet using vba

    The above code works fine for excel 2003 but why not for excel 2007.

    Please help me out in this.

    Thanks

  6. #6
    Forum Contributor
    Join Date
    09-24-2013
    Location
    Dallas, Texas
    MS-Off Ver
    Excel 2007
    Posts
    128

    Re: Send an excelsheet using vba

    maybe try this..
    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. Send outlook task from Excel sheet (including the excelsheet)
    By Jop_4444 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 05-08-2012, 05:26 PM
  2. Excel 2007 : Excelsheet checklist
    By Chainsaw_019 in forum Excel General
    Replies: 2
    Last Post: 07-25-2011, 07:26 AM
  3. Send excelsheet in the body of an email using vba
    By Nancy123 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-30-2010, 07:06 AM
  4. [SOLVED] How to use a macro from another excelsheet
    By Jeroen in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-24-2006, 10:25 AM
  5. Protected Excelsheet
    By ngmahesh in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-06-2006, 09:31 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