We value your feedback.
Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!
Dim WS As Worksheet Set WS = NAMESOMETHING ' This activates NAMESOMETHING(Sheet1) WS.ACTIVATE
Sub ACTIVATE2() ' The following works, but is based on Name, not (NAME) Sheets(Array("Sheet1", "Sheet2")).Select ' This does not work, calling (NAME) into the above array Sheets(Array("NAMESOMETHING", "RENAMESHEET2")).Select ' This below works, but only one Worksheet at a time. Dim WS As Worksheet Set WS = NAMESOMETHING ' This activates NAMESOMETHING(Sheet1) WS.ACTIVATE ' I want to Select both "NAMESOMETHING" and "RENAMESHEET2" ' So that I can "Print Preview" the two at once! ' Once selected, I would use something such as: ' ActiveWindow.SelectedSheets.PrintPreview End Sub
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
|How to transfer values from one userform in excel to another||14||42|
|Excel not storing numeric string correctly||5||40|
|Embed XL WS and Objects into a PPTX||8||33|
|Excel Index/Match issue||4||12|
Join the community of 500,000 technology professionals and ask your questions.