I’m using this code to run consecutive programs, which works really well, apart from one little glitch.
The problem is that during the Sendmail sub if I select No on the vb, the program continues onto the next sub which unfortunately clears the data I have input to cells on the worksheet (as it should do).Please Login or Register to view this content.
I therefore need a piece of code which will end the main sub at this point, if No is selected, without running the saveaspdfwithdate2 coding.
Here is the coding for Sendmail
Please Login or Register to view this content.
Bookmarks