|
-
Nov 18th, 2011, 03:30 PM
#3
Re: [Excel] Auto email workbook code help
I tried the code below but it doesn't send my excel workbook with the new data into it for some reason, it send the older version back.
it will save the last saved version, save first, or, if you do not want to keep the changes, then use savecopyas, change attachment name to the name of the saved copy, then delete after sending
i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next
dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part
come back and mark your original post as resolved if your problem is fixed
pete
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|