Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Which sheets are selected? 1

Status
Not open for further replies.

simoncpage

Programmer
Apr 4, 2002
256
GB
Hi all, can anyone tell me how to find out which sheets are selected i.e if two tabs are selected??

thanks

Simon
 
for i=1 to activewindow.selectedsheets.count
msgbox activewindow.selectedsheets.item(i)
next i

Rob
[flowerface]
 
for i=1 to activewindow.selectedsheets.count
msgbox activewindow.selectedsheets.item(i).name
next i

Rob
[flowerface]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top