Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
error 5174 file could not be found
The file to open was sent to me as a rich text I saved it as a word.doc.
properties show this ok. Yet excel will not find file. Have both yearly & yearlya in same folder (parade) It opens yearly fine but doesn't finf yearlya? Copied yearly code then added a as needed. Following is my code. I dont see what I did Private Sub optionbutton35_Click() OptionButton35.Value = False Dim Word As New Word.Application Dim WordDoc As Word.Document Word.Visible = True Set WordDoc = Word.Documents.Open("\parade\yearly.doc") End Sub ----------------------------- Private Sub optionbutton36_Click() OptionButton36.Value = False Dim Word As New Word.Application Dim WordDoc As Word.Document Word.Visible = True Set WordDoc = Word.Documents.Open("\parade\yearlya.doc") End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
R/T error 53 - File Not Found | Excel Discussion (Misc queries) | |||
Macro error when file not found | Excel Programming | |||
How to change closed file name - Error: file not found | Excel Programming | |||
File or function not found error | Excel Programming | |||
File not found - error | Excel Programming |