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: 1
Default Adding Sheet using Template creates link

I have a macro which adds sheets to a workbook (.xlsm) based upon a
custom template (.xltm). The line of code which does this is:

Sheets.Add Type:="<pathfilename.xltm"

Doing so causes excel to create a link to the .xltm file. I can see
the link by going to Data ribbon, and clicking on Edit links in the
Connection group. I also tried doing this manually by inserting a
sheet based upon the template file and the same thing happens. Why?
This doesn't happen in Excel 2003. Is there a flag in Excel 2007 which
indicates I don't want a link back to the source file that I need to
set? This is either a new "feature" in Excel 2007 or a bug.....

- John.
 
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
Adding a new template spread sheet on the first day of a new month Dobbin0_4[_2_] Excel Discussion (Misc queries) 1 January 23rd 09 11:53 PM
adding a sheet to database using the template Wizard rcj_84 Excel Discussion (Misc queries) 0 October 24th 06 09:14 PM
How do I link one sheet of data to a template? Mike Excel Discussion (Misc queries) 0 March 20th 06 02:54 PM
How to create a template that creates and saves as sequencial num. Viper Excel Programming 4 December 7th 05 10:59 PM
Adding a new sheet based on a template JVZ Excel Programming 2 September 4th 04 07:27 PM


All times are GMT +1. The time now is 08:21 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"