Home |
Search |
Today's Posts |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Donald,
Here is a simple function you can use Function IsFileOpen(wb As String) Dim oWb As Workbook On Error Resume Next Set oWb = Workbooks(wb) On Error GoTo 0 IsFileOpen = Not oWb Is Nothing End Function Works like this MsgBox IsFileOpen("Premiership 2003.xls") -- HTH Bob Phillips ... looking out across Poole Harbour to the Purbecks (remove nothere from the email address if mailing direct) "DonaldVdD" wrote in message ... How can I see if an Excel file is already opened? Because when it is I can't save a new one with the same name. Many thx in advance DonaldVdD |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
go last row when file is opened | Excel Discussion (Misc queries) | |||
file links incorrect when file is re-opened | Excel Worksheet Functions | |||
When was file last opened? | Excel Worksheet Functions | |||
cannot open the excel file, the file is already opened | Excel Discussion (Misc queries) | |||
Copying the Editing in one file to Another opened XLS file | Excel Worksheet Functions |