[OUTLOOK] Trying to use SendKeys
This is kind of an addendum to my last thread titled "Trying to run sub on Send"
I thought of a way around my issue and it is this...SendKeys. I am not familiar with the syntax of this so I am asking for a little help.
I have developed a macro for fixing name formats in Outlook that the Check Names feature won't correct, but my problem that I can't seem to get around is the Check Names dialog box. I thought that if I could send an ENTER that it would close the dialog box and allow my code to run.
Any help would be greatly appreciated.
Thanks,
Garrett
Re: [OUTLOOK] Trying to use SendKeys
Nope, wont work. The dialog is modal so no other processing of your vba code will execute until the dialog is dismissed.
Yo would have to write an ActiveX out of process exe and invoke it before th dialog popups.
Re: [OUTLOOK] Trying to use SendKeys
Thank you for the reply and saving me hours trying to get it to work when it never would have. I will see if I have any tools to do any ActiveX work at my work PC, but not sure that will be the case as I am not a Developer and don't have all the software that one should have. I am just a project assistant with an active imagination for solving problems with code.
Garrett
Re: [OUTLOOK] Trying to use SendKeys
Yea you wont be able to do it with VBA as it will all be in same process thread. You may want to look at creating a timer as that would be the next thing to look at before an activex exe