+ Reply to Thread
Results 1 to 3 of 3

How can I auto email updated fields from excel using VBA?

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

    How can I auto email updated fields from excel using VBA?

    Guru's,

    I have a spreadsheet that is updated daily, the columns are always the same (A through E), but the rows change each day. I had code that would put just the updated rows in an email and send it. The problem was, it only sends the text from the cells, not the formatting. While trying to figure it out, I messed the code up so now it only sends a blank email, please see code below.
    Please Login or Register  to view this content.
    Where did I screw up? Can the formatting be sent to the email as well? The formatting is actually a table, see attached for a sample
    Sample EOSR for Excel Forum.xlsx
    Thank you all for any help/advice
    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

  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: How can I auto email updated fields from excel using VBA?

    OK, one more try. I thought after being on here for a while and learning a thing or 3 that I might have been able to figure this one out myself, but, it's not happening. I am still having the above issue when the email is sent.
    This is what is being put in the body of the email...

    This Day This Person N/A2 ON 6A CM Air This Work
    That Day That Person S07 ON 13B PM Electrical That Work
    yesterday those people SO on 44A PM Hydraulic More work

    This is how I want it to look in the body of email, which is just as it is on the excel spreadsheet (See attached)
    Auto email.xlsx

    If I copy and paste it manually to the email it does it correctly. Is my best option to use copy and paste in my VBA code?

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

    Re: How can I auto email updated fields from excel using VBA?

    Solved per this thread
    http://www.excelforum.com/excel-prog...-with-vba.html
    Thank you Gregor Y

+ 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. Email when specific field in Excel is Updated
    By msanne136 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-16-2012, 07:12 PM
  2. Auto email when excel file is updated
    By Rose Mendoza in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-24-2012, 02:33 AM
  3. Excel Email Macro VBA - How to send an email once all required fields have been fille
    By wallacm2009 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-01-2012, 10:51 AM
  4. Rev. Auto Updated when sheet is updated and or entire book
    By frankee_gee in forum Excel General
    Replies: 1
    Last Post: 04-07-2008, 05:05 PM
  5. [SOLVED] Excel SHOULD NOT AUTO-CHANGE formated text fields to DATE FIELDS!
    By PSSSD in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-08-2006, 04:35 PM

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