AppActivate works in Excel 2007 but not in 2010
问题 I have a excel macro that I run in Excel 2007 and it opens a mainframe application so I can import data from my spreadsheet automatically. This has been working fine, however it doesn't work in Excel 2010. I have tried using the shell command to use the ID but the other application is a mainframe application and non windows based. However, AppActivate "Title" (to open the mainframe application) was working fine in excel 2007. In Excel 2010 I am getting a Run-time error 5 - Invalid procedure