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


Hi,

I have a problem with trying to get a template to open from inside a
sheet.

At the moment I have a large workbook which has lots of data that the
template uses for lists boxes and INDEX/MATCH lookups. The problem I've
got is I want to allow the user to click a button which will create a
template for them from the original sheet (so they only have one sheet
to use).

Trouble is when I open the template through windows explorer whilst the
workbook with all the information is open and I get no errors and all
the functionality works fine. However when I try to use VBA to open a
template I get the "Update Links" message which no matter what option I
press breaks the functionality of the sheet.

I've tried;

Workbooks.open "sheet1.xlt"

and

Workbooks.Add Template:="sheet1.xlt"

The first one just opens the template for editing and the second gives
me the update error I'm trying to avoid, and for some reason I can't
seem to add the UpdateLinks:=0 thing either excel just says it's an
invalid arguement.

Can anyone help?


--
greppinfunk
------------------------------------------------------------------------
greppinfunk's Profile: http://www.excelforum.com/member.php...o&userid=37096
View this thread: http://www.excelforum.com/showthread...hreadid=569005

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
How do I stop blank workbook from opening when opening an existing kjg Excel Discussion (Misc queries) 3 February 12th 10 09:36 PM
saved templates opening as templates 4n6DNA Excel Discussion (Misc queries) 2 August 31st 09 09:30 PM
Templates not opening up as workbooks LAM Excel Worksheet Functions 0 March 27th 07 11:29 PM
Excel is opening templates as templates instead of as worksheets Desram Setting up and Configuration of Excel 1 January 19th 06 09:38 PM
excel VBA problem - setting workbook as variable & opening/re-opening safe Excel Programming 1 August 20th 04 12:22 AM


All times are GMT +1. The time now is 01:21 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"