Add and rename a worksheet

  • Thread starter Thread starter Microsoft Forum
  • Start date Start date
M

Microsoft Forum

Hi all,

Sorry for this very simple question: How can I add a new worksheet, and then
immediately rename it?

i.e.

Worksheets.add after:=Worksheets("Sheet1") .. and then how?

Thanks a lot.

Frederick Chow
Hong Kong.

P.S. I don't know why my name changes to "Microsoft Forum"... Any help to
change it?
 
Frederick,

You want

Worksheets.Add(After:=worksheets("Sheet1")).Name = "Frederick"

Are you using a web portal to the NGs, such as ExcelForum (I know it is not
that one, but you get the idea)? If so, there must be some way to define
your own handle.

--

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