Hi everyone,
I'm trying to get my excel script to send an email with Outlook (or at least display it so the user can review before sending), and it does it perfectly!...when it's one long script. Trouble is, when I take out the email portion and reference it instead, the whole concotion creates two email windows... even when I change the .display to .send, it sends two emails.
I've pared back the script into its bare essentials, thinking that I must have written some piece of code that was messing it up. No dice. This code still has the same problem.
What am I doing wrong?
If you want, you can run the code for yourself. Running the top sub will open one email window, but running the bottom sub (which only references the first sub) will open two. I've tried rearranging the subs, I've tried turning the first sub into a function.
Any ideas?
Bookmarks