View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
SharonJo SharonJo is offline
external usenet poster
 
Posts: 7
Default Creating a New Macro

OK, so I have this maco to name a tab to the contents of cell A1, but I have
no idea what to do with the macro...

Sub name_um()
For Each ws In Worksheets
ws.Name = ws.Range("A1").Value
Next
End Sub

....and can I save the macro so that I can use it in other workbooks?