Thread: sheet name VBA
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Ron de Bruin Ron de Bruin is offline
external usenet poster
 
Posts: 11,123
Default sheet name VBA

Try this Jack

Sub test()
On Error Resume Next
ActiveSheet.Name = "Hi"
On Error GoTo 0
End Sub


--
Regards Ron de Bruin
http://www.rondebruin.nl


"Jack" wrote in message ...
Hi,


I just wonder how to change a sheet name the from vba code in excel...

Thanks for your help

Jack