Thanks for your answer BlueDevilFan!
I´ve tried to use ItemSend and also ItemLoad but get stuck. Probably by using it the wrong way& but the background is that I´m using my macro to replace/clean up the To field from a specific code that is imported together with an e-mail address from another program (of course Outlook does not accept this code as an address, wherefore I cant send the e-mail, but I can´t erase the code from the other program). So by using my macro manually it works perfect/cleans the "To" field, but now I want to minimize just one (run macro) click?
Down below you can see my code/macro. The solution I´m most into is to use ItemSend, but because Outlook does the control of the addresses in the To field before my macro runs, I get stuck. /stefan
Main Topics
Browse All Topics





by: BlueDevilFanPosted on 2009-09-01 at 18:24:49ID: 25237557
Hi, stefan.
You can use ItemSend if you want to trigger the code as the item is being sent. It's difficult to say if that will work for you without knowing what your macro does. It's also possible to run the macro as an item is opened. That could be more of a problem though since the macro would run for every message you open each time you open it.