LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default Can I add a new worksheet using a template

I have a formatted excel file with cell formatting plus an inserted bitmap
logo saved on my system as PO Template.xls

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

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

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?...

It doesn't work for me!

newsheet is still nothing after this line


 
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
Worksheet Template Janet T Excel Discussion (Misc queries) 8 June 6th 07 09:00 PM
Template question - can I replace the default "worksheet" template Jackie Excel Discussion (Misc queries) 2 April 19th 06 11:59 AM
Worksheet-template (HELP!) at_a_loss Excel Programming 1 February 26th 06 09:40 PM
Worksheet template Phippsy Excel Worksheet Functions 2 November 11th 05 10:13 AM
Add worksheet as template VanS[_2_] Excel Programming 4 February 22nd 05 06:59 PM


All times are GMT +1. The time now is 03:48 PM.

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

About Us

"It's about Microsoft Excel"