View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.newusers
Don Guillett Don Guillett is offline
external usenet poster
 
Posts: 10,124
Default macro to all worksheets

Sub allshts()
For Each ws In ActiveWorkbook.Sheets
MsgBox ws.Name
Next ws
End Sub
--
Don Guillett
Microsoft MVP Excel
SalesAid Software

wrote in message
...
hi
how to apply a single macro to all worksheets????????