PavelGur
Programmer
- Sep 21, 2001
- 75
I have the following code:
'If Not Windows("SelectCur.xls").Visible Then
If Worksheets("SelectPoliciesCur").Visible = False Then
Workbooks.Open Filename:="c:\Design\SelectCur.xls"
End If
In both cases, commented and uncommented code, I'm getting subscript out of range message.
Thanks in advance, Pav.
'If Not Windows("SelectCur.xls").Visible Then
If Worksheets("SelectPoliciesCur").Visible = False Then
Workbooks.Open Filename:="c:\Design\SelectCur.xls"
End If
In both cases, commented and uncommented code, I'm getting subscript out of range message.
Thanks in advance, Pav.