Hello all,
With the help of many, I've been able to have code in two seperate workbooks that I would like to merge into one Module so that both commands can be done together.
the 1st code allows the user to click a button and prepare the Excel page as PDF
the 2nd code allows the user to click a button and prepare the Excel page to be saved as xls file (the document is actually xlsm- but I don't want the macros to be active when we send it out) then places the file in an email so the user just has to type in an email address and hit send.
I would like to code to be combined so the user can click a button then the excel file will save to the local C drive (it currently does that) then take that saved document and create a PDF, then take the PDF and attach it to an OUTLOOK email.
I realize that this is a huge task and I've tried working with the code to see if it can be done, but I'm just not that strong in VB code.
I would appeciate any help you can offer!
CODE 1
Please Login or Register to view this content.
CODE 2
Again, thank you for any help you can offer!Please Login or Register to view this content.
Bookmarks