View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson Dave Peterson is offline
external usenet poster
 
Posts: 35,218
Default VB Script: Code for "Sheets in selection"

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



J@Y wrote:

What would be the code for something like this argument:

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


--

Dave Peterson