Name a Sheet as Text in Sheet 1 "M2"

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I was looking for someone who could help me with the following. I wanted to
make a macro that at one point inserts a new sheet in the document and names
it after the content of cell M2 in sheet 1. Thanks in advance!
 
The best way for you to learn how to do this is to record a macro while you
do it.
 
Worksheets.Add.Name = Worksheets("Sheet1").Range("M2").Value

--

HTH

RP
(remove nothere from the email address if mailing direct)
 

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