Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I would like to create a new workbook based on a template, but not the
xlstart template. In other words I dont want to use a default but be able to specify the template file when creating the workbook. Is this possible? Same question with worksheets. Jim |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Workbooks.Add sTemplateLocation
where sTemplateLocation is the string pointing to the template address. __________________________________________________ ____________________ "jimc" wrote in message ups.com... I would like to create a new workbook based on a template, but not the xlstart template. In other words I dont want to use a default but be able to specify the template file when creating the workbook. Is this possible? Same question with worksheets. Jim |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Thanks you very much On Jun 16, 9:45 pm, "Vasant Nanavati" <vasantn AT aol DOT com wrote: Workbooks.Add sTemplateLocation where sTemplateLocation is the string pointing to the template address. __________________________________________________ ____________________ "jimc" wrote in message ups.com... I would like to create a new workbook based on a template, but not the xlstart template. In other words I dont want to use a default but be able to specify the template file when creating the workbook. Is this possible? Same question with worksheets. Jim |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
dim wkbk as workbook
set wkbk = Workbooks.Add(template:="C:\my documents\excel\mybook.xlt") and Dim wks as object set wks = sheets.add(Type:="C:\my documents\excel\mysheet.xlt") jimc wrote: I would like to create a new workbook based on a template, but not the xlstart template. In other words I dont want to use a default but be able to specify the template file when creating the workbook. Is this possible? Same question with worksheets. Jim -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I create a excel Template to enter data into same workbook | Excel Programming | |||
Using a database to create new worksheets based from a template | Excel Programming | |||
How to open xl and create a new document based on a template | Excel Discussion (Misc queries) | |||
how to create and use a new spreadsheet based on a template | Excel Discussion (Misc queries) | |||
Create a new sheet in a workbook from a template | Excel Programming |