Run-time Error '1004' - Method 'Open' of object 'Workbooks' failed

后端 未结 8 710
故里飘歌
故里飘歌 2021-01-21 00:09

OK, so far I\'ve uninstalled & re installed Office-2010 3 to 4 times, done hours of research for 3 days with no success. I started getting this error either from Vbscript or

8条回答
  •  攒了一身酷
    2021-01-21 00:32

    I know I'm answering late on this, but I resolved a similar issue (same error but running excel from a .Net app) by making sure VBA was installed correctly on the target machine.

    Control Panel->Programs and Features->Uninstall a Program... find your Office install, Right-click and select "change" ->Add Remove Features->Office Shared Features->Visual Basic for Applications->Run From My Computer

    This did it for me.

提交回复
热议问题