I run this code:
Dim objWbk As Workbook
Dim objExcel As New Excel.Application
Set objWbk = objExcel.Workbooks.Open("C:\Projects\2008 RateBase\PageMaker2008\RataBaseTemplates\AL\176_AL_PREM_LIMIT_FCTR.xls")
The workbook exists, I hardcoded it. The location exists also, it's on my personal drive.
Instead of opening this workbook, code opens 176_AL_PREM_LIMIT_FCTR1. This file does not exist at all. I save this ghost workbook:
objWbk.Save
objWbk.Close
Then I find 176_AL_PREM_LIMIT_FCTR1.xls in My Documents directory.... It happens with all workbooks (there about 200 in the folder, but one.... And it happens with all 50 folders, all of them have similar workbooks. They are not hidden, not read only, folders are not locked. Have no idea what is going on...
Dim objWbk As Workbook
Dim objExcel As New Excel.Application
Set objWbk = objExcel.Workbooks.Open("C:\Projects\2008 RateBase\PageMaker2008\RataBaseTemplates\AL\176_AL_PREM_LIMIT_FCTR.xls")
The workbook exists, I hardcoded it. The location exists also, it's on my personal drive.
Instead of opening this workbook, code opens 176_AL_PREM_LIMIT_FCTR1. This file does not exist at all. I save this ghost workbook:
objWbk.Save
objWbk.Close
Then I find 176_AL_PREM_LIMIT_FCTR1.xls in My Documents directory.... It happens with all workbooks (there about 200 in the folder, but one.... And it happens with all 50 folders, all of them have similar workbooks. They are not hidden, not read only, folders are not locked. Have no idea what is going on...