Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default How do I create a new worksheet using a template or xls file

I have a formatted excel file with cell formatting plus an inserted bitmap
logo.

Can I add a worksheet using that file as a template?

VBA help says "If you are inserting a sheet based on an existing template,
specify the path to the template. The default value is xlWorksheet."

So is this valid?...

Set newsheet = MasterWorkBook.Worksheets.Add(Type:="C:\Program Files\Bourret
Tools\_POTemplate.xlt")

It doesn't work!

newsheet is still nothing after this line


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
Create new worksheet from template for each value in range CJ Excel Worksheet Functions 6 November 15th 07 06:19 AM
Excel won't create file from template. What to do? Jon Excel Discussion (Misc queries) 0 September 11th 06 11:31 PM
create a master worksheet template Derek Excel Discussion (Misc queries) 0 January 10th 06 03:38 PM
Create a template for every worksheet Alana Excel Discussion (Misc queries) 0 March 8th 05 09:49 PM
want to create a template and update in seperate worksheet lata New Users to Excel 0 February 23rd 05 07:21 AM


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