Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Here's my code:
Set WordApp = CreateObject("Word.Application") WordApp.Visible = False Set WordDoc = WordApp.Documents.Open(myFile) For some reason I keep getting a runtime error 5457, which says something like "File is open or being used". I know for a fact that the Word file is NOT open and nobody is using yet. I've even tried different Word files, but still the same result. Does anyone know what the problem might be? Is it related to the file permissions? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Unable to open embedded word document from Excel | Excel Discussion (Misc queries) | |||
Suddenly unable to open excel files from Explorer, Word ok | Excel Discussion (Misc queries) | |||
Unable to open excel file and when view the file size show as 1 KB | Excel Discussion (Misc queries) | |||
"Unable to read file"message in Word & Excel | Excel Discussion (Misc queries) | |||
Trying to open Excel/Word files error message "Unable to read file | Excel Discussion (Misc queries) |