ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   open excel workbook from template (https://www.excelbanter.com/excel-programming/276124-open-excel-workbook-template.html)

Nelson[_4_]

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.

Chip Pearson

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.





All times are GMT +1. The time now is 06:59 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com