Click here to Skip to main content
15,891,993 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have one Excel file open, I use macros to call an executable, this executable can write/ read the already open excel file.

Problem: I am unable to open other excel files under above mentioned scenario. Please help to resolve this issue.

Thanking you guys in advance!
Posted

How you call this executable?
Do you used Shell() command?
 
Share this answer
 
Application.Workbooks.Open ("/filepath/filename.xls")

Usually does the trick.

If not, please show the code and I should be able to sort it for you.
(Self proclaimed Excel VBA Guru!)
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900