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

Using VB, how can I open a new workbook and specify a
template to use? I do not want to change the default
template, but instead specify a custom template.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default open excel workbook from template

Nelson,

Try something like the following:

Workbooks.Add template:="C:\templates\name.xlt"

--
Cordially,
Chip Pearson
Microsoft MVP - Excel
www.cpearson.com




"Nelson" wrote in message
...
Using VB, how can I open a new workbook and specify a
template to use? I do not want to change the default
template, but instead specify a custom template.



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
Opening Excel, Book1 opens, remains open with other workbook open DanieB Excel Discussion (Misc queries) 0 September 3rd 09 08:23 AM
excel 2003 saved file will not open without a blank workbook open Bob Excel Discussion (Misc queries) 4 November 11th 06 04:24 PM
Template Help Task Pane Appears When Workbook Is Open Connie Excel Discussion (Misc queries) 2 November 8th 06 09:06 PM
New button does not open the template workbook set up lucilene Excel Discussion (Misc queries) 3 July 20th 05 01:55 AM
Excel workbook does not open in open window on desktop DeanH Excel Discussion (Misc queries) 2 March 8th 05 09:51 AM


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