Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 40
Default Add a sheet using a template

Hi,

I am adding a sheet using sheets.add.name = sname - no problem

However, I would like the newly created WORKSHEET to be based on a template.
Is this possible? if yes, how?

Thanks


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 40
Default Add a sheet using a template

NB I don't want the worksheet to be the default for all workbooks only the
workbook that I am adding the sheet to
"Newbie" wrote in message
...
Hi,

I am adding a sheet using sheets.add.name = sname - no problem

However, I would like the newly created WORKSHEET to be based on a

template.
Is this possible? if yes, how?

Thanks




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 64
Default Add a sheet using a template

One way, if what you're doing is regularly adding a new
sheet to an existing workbook.

Create your template worksheet, place it right at the end
of the workbook, then hide it or, if you're concerned
about other users finding it and messing about with it use

Sheets("Template").visible = xlveryhidden

Then, to create a new copy:

Sheets("Template").visible = true
Sheets("Template").copy befo= Sheets("Template")
Activesheet.name = "NewSheetName"
Sheets("Template").visible = xlveryhidden

Cheers, Pete

-----Original Message-----
Hi,

I am adding a sheet using sheets.add.name = sname - no

problem

However, I would like the newly created WORKSHEET to be

based on a template.
Is this possible? if yes, how?

Thanks


.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 40
Default Add a sheet using a template

Thanks works a treat!
"Pete McCosh" wrote in message
...
One way, if what you're doing is regularly adding a new
sheet to an existing workbook.

Create your template worksheet, place it right at the end
of the workbook, then hide it or, if you're concerned
about other users finding it and messing about with it use

Sheets("Template").visible = xlveryhidden

Then, to create a new copy:

Sheets("Template").visible = true
Sheets("Template").copy befo= Sheets("Template")
Activesheet.name = "NewSheetName"
Sheets("Template").visible = xlveryhidden

Cheers, Pete

-----Original Message-----
Hi,

I am adding a sheet using sheets.add.name = sname - no

problem

However, I would like the newly created WORKSHEET to be

based on a template.
Is this possible? if yes, how?

Thanks


.



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
Template for Balance sheet Chimo New Users to Excel 2 April 15th 09 07:03 PM
How to merge data in Excel - one sheet to template sheet? Gabriela Excel Worksheet Functions 2 July 26th 07 03:34 PM
time sheet template available bsydnes Excel Discussion (Misc queries) 2 September 19th 05 02:25 AM
Making a spread sheet template Kyle New Users to Excel 1 May 19th 05 03:02 PM
First Sheet,First column as template marxbalz Excel Programming 1 January 10th 04 06:42 PM


All times are GMT +1. The time now is 02:53 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"