M
Mark1
Hey, I've got this code:
Function MyMacro()
Dim ReturnValue
ReturnValue = Shell("C:\NOVELL\GroupWise\grpwise.exe", 1)
AppActivate ReturnValue, 1
SendKeys "^M", 1
Control+M is supposed to open a new mail message, but nothing happens and I
don't get an error message. The AppActivate line works fine and opens our
e-mail application, but the "^M" doesn't open a new mail item. Any hints?
I've tried "^{M}" and everything else I know of.
The other funny thing is that if I already have grpwise.exe running when I
execute the code, the "^M" works like it is supposed to. The grpwise window
is activated and a new mail message is started.
Thanks!
Function MyMacro()
Dim ReturnValue
ReturnValue = Shell("C:\NOVELL\GroupWise\grpwise.exe", 1)
AppActivate ReturnValue, 1
SendKeys "^M", 1
Control+M is supposed to open a new mail message, but nothing happens and I
don't get an error message. The AppActivate line works fine and opens our
e-mail application, but the "^M" doesn't open a new mail item. Any hints?
I've tried "^{M}" and everything else I know of.
The other funny thing is that if I already have grpwise.exe running when I
execute the code, the "^M" works like it is supposed to. The grpwise window
is activated and a new mail message is started.
Thanks!