VB Script: Code for "Sheets in selection"

J

J@Y

What would be the code for something like this argument:

For each sheet in sheets selected, DO
....
....
next
end
 
D

Dave Peterson

Dim wks as object
for each wks in activewindow.selectedsheets
'...
next wks
 
Top