Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Workbook.Open doesn't leave an open Workbook
My Code:
TS = Directory & File_Name On Error Resume Next Workbooks.Open TS If Err Then Call MsgBox("Could not open " & TS & ", " & Err) End If After this runs, there is no Error Message, but there is no Workbook open either. This code works if I put in Workbook_Open, but not if I use it in a normal Function call. Any idea why it works in one place and not in another? Thanks, Mac |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How to: Open closed workbook/Search data tables/Return data to open workbook | Excel Discussion (Misc queries) | |||
how do i open a data workbook when i open a timesheet workbook | Excel Discussion (Misc queries) | |||
excel 2003 saved file will not open without a blank workbook open | Excel Discussion (Misc queries) | |||
How do you program so that Workbook B cannot be open unless Workbook A is open? Plus I need to validation | Excel Programming | |||
very difficult code that will close original workbook and leave another open | Excel Programming |