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
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.