Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Resume Next doesn't work in IsOpen function
I want to test if a workbook is open. I've found these suggestions, but none of them work for me. Any ideas why
Thank Ro 'I've tried Function IsOpen(BookName As String) As Boolea On Error Resume Nex Set wb = Workbooks(BookName IsOpen = Not wb Is Nothin End Functio 'and Function IsOpen(BookName As String) As Boolea On Error Resume Nex IsOpen = Not (Application.Workbooks(BookName) Is Nothing End Functio 'and Function IsOpen(BookName As String) As Boolea On Error Resume Nex IsOpen = Len(Workbooks(BookName).Name End Functio |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
need a function that will work using multiple work books and sheet | Excel Worksheet Functions | |||
How do I setup plain work sheet for preparing resume or timesheet | Setting up and Configuration of Excel | |||
resume.xlw | Excel Discussion (Misc queries) | |||
can I create a new resume? | Excel Discussion (Misc queries) | |||
On Error Resume Next | Excel Programming |