Need template source path

D

Don DeCosta

I'm trying to find the path and name of the source .XLT
file that was used as the template for a worksheet.

ThisWorkbook.Path is blank since the current workbook
hasn't been saved yet (I use that fact to fake an AutoNew
macro) but I'd like to know what .XLT was launched to
create the current workbook.

TIA

Don DeCosta
 
D

Dave Peterson

Once you create the new workbook based on the template, that info is lost.

(It's quite different from MSWord.)
 
C

Chrissy

It is different than Word in that respect and I would have like
to have a property which gave this info.

One way round it would be to have code on the Template which
held the template name which you add to it when you create the
template.

Chrissy.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top