Home |
Search |
Today's Posts |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Dim fileName As String fileName = Range("A1") ' or whatever cell your data is in Workbooks.Open(fileName) that should do the trick... be sure to make certain it won't ever tr to open non-existant files. if len(Dir(fileName)) = 0 then MsgBox("File does not exist") else Workbooks.Open(fileName) End If or something like tha -- TommySzalapsk ----------------------------------------------------------------------- TommySzalapski's Profile: http://www.excelforum.com/member.php...fo&userid=2556 View this thread: http://www.excelforum.com/showthread.php?threadid=39055 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Macro to open most recent file with a particular filename string | Excel Discussion (Misc queries) | |||
Why doesn't the File Open list sort into filename order? | New Users to Excel | |||
How to write a macro to open a file read-only? | Excel Programming | |||
Need macro to open a variable filename | Excel Programming | |||
Macro to open SaveAs... and change filename to cell value | Excel Programming |