macro which changes the name of tab in an excel sheet

  • Thread starter Thread starter vikram
  • Start date Start date
V

vikram

need a macro which can change the name of the tab in a excel spreadsheet
according to the requirements

like if B4 cell comtains "vikram" then the name of this tab in this
excel sheet changes to vikram


ur help is highly appreciated

thank u so much
 
activesheet.name=range("b4")
or
if lcase(range("b4"))="vikram" then activesheet.name=range("b4")
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top