Hi,
I have an Excel application which opens another excel app. Here's a snippet of the code. How can I refer to these two open worksheets now? Is it possible to give names to the worksheets, so I can distinguish them?
Thanks for your valuable help!
SJH
I have an Excel application which opens another excel app. Here's a snippet of the code. How can I refer to these two open worksheets now? Is it possible to give names to the worksheets, so I can distinguish them?
Code:
Private Sub btnOpenPreviousVersion_Click()
Workbooks.Open "C:\", ReadOnly:=True
Thanks for your valuable help!
SJH