Worksheet names

  • Thread starter Thread starter jkepley75
  • Start date Start date
J

jkepley75

Is there anyway to name a worksheet with text from a cell in anothe
worksheet
 
Hi
only with VBA. using something like

sub rename()
dim wks as worksheet
dim target_wks as worksheet
set wks = activesheet
set target_wks = worksheets(1)
target_wks.name=wks.range("A1").value
end sub
 

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

Similar Threads


Back
Top