Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to open a new XLS based on an XLT?

Status
Not open for further replies.

Dijital

MIS
Mar 15, 2002
47
US
I have a template called Test.XLT. I want to be able to open a new workbook using that template. Is there an easy way to do this??

-Jim Connors
 

set oXL = createobject("Excel.Application")
oXL.visible=true
oXL.Workbooks.Add test.xlt

you might need to qualify the path to the template file if you dont save it where Excel expects.
 
It did not work as such, but adding quotes and the full file path worked like a charm!! Thanks!

Do you know perhaps anywhere that has good documentation on the office (2000 & XP) DOM?

-Jim Connors
 
We're still way behind with Office 97
I've usually found the on-line help in Excel97 to be OK.
Anything a bit unusual I go surfing.

Cheers.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top