Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default inserting a worksheet

is there any way of inserting a worksheet that does not have a sheet number
on it. would be handy for using in macros.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,942
Default inserting a worksheet

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

"ysam4440" wrote:

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

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default inserting a worksheet

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

"FSt1" wrote:

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

"ysam4440" wrote:

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

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default inserting a worksheet

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

On Wed, 7 Apr 2010 17:02:01 -0700, ysam4440
wrote:

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

"FSt1" wrote:

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

"ysam4440" wrote:

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


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 464
Default inserting a worksheet

Sheet insertion will NOT "overwrite" ANY sheet.



--
Regards
Dave Hawley
www.ozgrid.com
"ysam4440" wrote in message
...
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

"FSt1" wrote:

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

"ysam4440" wrote:

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




  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default inserting a worksheet

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.

"Gord Dibben" wrote:

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

On Wed, 7 Apr 2010 17:02:01 -0700, ysam4440
wrote:

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

"FSt1" wrote:

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

"ysam4440" wrote:

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


.

  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 464
Default inserting a worksheet

Why not simply copy the sheet you want duplicated, or create a worksheet
template?
http://www.ozgrid.com/Excel/excel-wo...-templates.htm

it sounds like what I want to do is not possible.

I doubt it, but you will HAVE to detail exactly what you are trying to do.



--
Regards
Dave Hawley
www.ozgrid.com


"ysam4440" wrote in message
...
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.

"Gord Dibben" wrote:

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

On Wed, 7 Apr 2010 17:02:01 -0700, ysam4440
wrote:

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

"FSt1" wrote:

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

"ysam4440" wrote:

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


.


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Inserting a worksheet Hopi Excel Worksheet Functions 1 July 2nd 09 05:24 PM
Inserting New Worksheet Problems with formula within worksheet Excel Discussion (Misc queries) 0 November 30th 06 04:38 PM
Inserting New Worksheet tim m Excel Discussion (Misc queries) 0 November 29th 06 04:58 PM
Inserting New Worksheet Problems with formula within worksheet Excel Discussion (Misc queries) 0 November 29th 06 04:47 PM
Inserting row in 1 worksheet and updating a different row in another worksheet [email protected] Excel Discussion (Misc queries) 0 August 9th 06 09:13 PM


All times are GMT +1. The time now is 02:37 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"