Carly
Active Member
- Joined
- Aug 21, 2002
- Messages
- 370
Please could someone look at the code below as it doesn't seem to work:
If (Windows("MarginRecoveryPlan - TEMPLATE.xlsx").Activate Is Nothing) Then
Else
Workbooks.Open "\\Stoke\analytic$\Price Increase\MarginRecoveryPlan " & vMonth & "\Spreadsheets\MarginRecoveryPlan - TEMPLATE.xlsx"
End If
I am trying to check if the workbook is open & if not, open it.
Any help would be greatly received.
Kind Regards
Carly
If (Windows("MarginRecoveryPlan - TEMPLATE.xlsx").Activate Is Nothing) Then
Else
Workbooks.Open "\\Stoke\analytic$\Price Increase\MarginRecoveryPlan " & vMonth & "\Spreadsheets\MarginRecoveryPlan - TEMPLATE.xlsx"
End If
I am trying to check if the workbook is open & if not, open it.
Any help would be greatly received.
Kind Regards
Carly