Quantcast
Channel: SCN: Message List - Software Support and Maintenance
Viewing all articles
Browse latest Browse all 2823

Excel Macro throw exception when excel open through C# application.

$
0
0

Excel Macro with GetObject("SAPGUI") work fine when open excel manully. But if we open excel application through C# code and then try to run macro it shows error "Invalid Syntax". Any idea why it's happen. What is a root cause to fail macro when excel open through C# code? How to fix it?


Viewing all articles
Browse latest Browse all 2823

Trending Articles