Creating New work sheets and assigning names automatically

  • Thread starter Thread starter paz24
  • Start date Start date
P

paz24

Is it pissible with VBA excel to create a new worksheet and assign to i
a name automatically?

Basically I have a button which runs a piece of VBA code which include
creating a new worksheet. Ideally when i click on that button Exce
would know thaht the worksheet to be created should have a particula
name such as "ABC" instead of "sheet1", "sheet2" etc

thank
 
worksheets.add.name = "ABC"

but how does it know it should be ABC?

--
HTH

Bob Phillips

(remove nothere from 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