AppActivate in a VB macro - Excel 2002
Hi,
I've created a Macro in Excel 2000 to export information to Microsoft Paint, but after updating to Excel2002 the macro throws the error 'Invalid procedure call or argument' in the instruction AppActivate. This is the portion of the code with problems:
MyAppID = Shell("mspaint.exe", vbNormalFocus)
AppActivate MyAppID
SendKeys "^n"
Anyone know what is the problem?
Thanks
Andres C
|