referense to sheet in opened workbook

A

AlexD

If some spreadsheet and workbook are already opened like
this:

Set xlBook = xlApp.Workbooks.Open(“BookName”)
Set xlSheet = xlBook.Worksheets(“theFirstSheetName”)
xlSheet.Activate
xlApp.Visible = True

How could I activate another theSecondSheetName
spreadsheet to be able to see it from the same workbook?

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top