Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Need template source path

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
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,824
Default Need template source path

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

(It's quite different from MSWord.)

Don DeCosta wrote:

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


--

Dave Peterson

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 101
Default Need template source path

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.

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

(It's quite different from MSWord.)

Don DeCosta wrote:

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


--

Dave Peterson



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
Pivot Table Source Data File Path Change AndrewEdmunds Excel Discussion (Misc queries) 1 November 10th 08 06:45 PM
Excel 2000: Changing path of an external data source Craig Excel Discussion (Misc queries) 1 December 11th 07 05:03 PM
Q: Change pivot table source path? Mark Excel Discussion (Misc queries) 1 July 27th 06 12:40 AM
Can't change source data path for Pivot Chart Mike B in VT Charts and Charting in Excel 1 February 18th 06 11:43 PM
how to change path name of html source folder ? naruemol Excel Worksheet Functions 0 June 17th 05 03:50 AM


All times are GMT +1. The time now is 10:31 AM.

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"