inserting a worksheet

Y

ysam4440

is there any way of inserting a worksheet that does not have a sheet number
on it. would be handy for using in macros.
 
F

FSt1

hi
no. the sheet number is how excel keeps track of everything. even if you
change the name of the sheet to a non-number name, excel still keep the sheet
number in the background.
but people have aways gotten around this problem with macros. what problems
are you having?

Regards
FSt1
 
Y

ysam4440

howdy
i want a macro to insert a worksheet then name it. when i try to do this
with a second worksheet the macro overwrites the first worksheet
 
G

Gord Dibben

You cannot name a sheet same as another so you must check to see if that
sheetname exists then add a sheet with an alternate name.

Post the code you have tried.

What pattern of name would you want?


Gord Dibben MS Excel MVP
 
Y

ysam4440

Hi
the macro insets a new sheet then copies another sheet onto it. i then
rename the sheet. when you try to do this again the macro looks for the
original sheet number and overwrites the information in it. it sounds like
what I want to do is not possible.
 

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

Top