Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a macro that looks for a specfic file in a directory. It opens
the file and then does some other stuff. What I want to do is test to see if the file is present or not. I think I should use an If Then Else statement, but I'm not sure how to test if the file Workbooks.OpenText Filename:= "pathToFile\pobcinv is successful. If Workbooks.OpenText Filename:= "pathToFile\pobcinv" is successfull Then 'Statements Else T.I.A. Grant |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How can I test a range of cells for the presence of a border? | Excel Worksheet Functions | |||
Detect Presence Formula | Excel Worksheet Functions | |||
please help me mark their presence. | Excel Worksheet Functions | |||
count their presence | Excel Worksheet Functions | |||
Signaling the presence of a password | Excel Programming |