Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
How to test, wheather a particular excel file is already opened or not.
Please help me |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
This function does the job:
Public Function IsOpenWB(ByVal WBname As String) As Boolean 'returns true if workbook is open Dim objWorkbook As Object On Error Resume Next IsOpenWB = False Set objWorkbook = Workbooks(WBname) If Err = 0 Then IsOpenWB = True End Function Regards, Stefi €˛kris€¯ ezt Ć*rta: How to test, wheather a particular excel file is already opened or not. Please help me |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks Stefi you have shown me the way
|
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
You are welcome! Thanks for the feedback!
Stefi €˛kris€¯ ezt Ć*rta: Thanks Stefi you have shown me the way |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Why two files opened? | Excel Discussion (Misc queries) | |||
log of when files opened... | Excel Programming | |||
log of when files opened... | Excel Programming | |||
how to log all files opened on my pc? | Excel Discussion (Misc queries) | |||
Test for first time a workbook is opened | Excel Programming |