Excel Personal.xls not opening

purceld2

Registered User.
Local time
Today, 15:57
Joined
Dec 4, 2008
Messages
79
I call a macro from Access which cannot be found due it appears that for some reason when Excel is opened by an external program the Personal.xls is not opened.

If the spreadsheet is opened manually personal.xls is opened ok

Any ideas

thank you in advance
 
You'll need to find out the path to the Personal.XLS and open it manually in the same sub where you open the other workbook. I don't know if you'll need to close it manually as well.

Dim WB as Excel.Workbook
Set wb = xlsAp.Workbooks.Open(strPathToPersonalXLS)
 

Users who are viewing this thread

Back
Top Bottom