thank you for the reply.
I have seen a couple of examples of this, where the variable is called in vbrun, and I've tried a couple variations to no effect. This one doesn't work either, I get errors on the line assigning the variable and the vbrun line.
Search found 2 matches
- Wed Oct 02, 2013 5:28 pm
- Forum: Technical / Scripting
- Topic: passing variable to vbscript for outlook
- Replies: 3
- Views: 5906
- Wed Oct 02, 2013 6:08 am
- Forum: Technical / Scripting
- Topic: passing variable to vbscript for outlook
- Replies: 3
- Views: 5906
passing variable to vbscript for outlook
I know zip about vb but am attempting to automate an email using outlook. I have pulled several examples of code, and found 1 that works, except I cant seem to get it to accept a variable in the message body: let>var1="sample variable" VBSTART Sub SendOutlookMail Set objOutlook = CreateObject("Outlo...