View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
John[_115_] John[_115_] is offline
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