+ Reply to Thread
Results 1 to 3 of 3

How to open xl and create a new document based on a template

  1. #1
    Colin Wilson
    Guest

    How to open xl and create a new document based on a template

    does anyone know if there is an xl equiv to the word macro "Documents.Add
    Template etc, to open a new xls from an xlt - I want to be able to open and
    save new xls's without changing the template..

  2. #2
    bigwheel
    Guest

    RE: How to open xl and create a new document based on a template

    Take a look at "Add Method (Workbooks Collection)" in the helpfile. You'll
    see that you can specify the template name to be used to create new workbooks
    i.e.

    Workbooks.Add(Template:= "C:\template.xlt")

    "Colin Wilson" wrote:

    > does anyone know if there is an xl equiv to the word macro "Documents.Add
    > Template etc, to open a new xls from an xlt - I want to be able to open and
    > save new xls's without changing the template..


  3. #3

    Re: How to open xl and create a new document based on a template


    Do you mean like

    Sub openfromXLT()
    Workbooks.Add Template:="my_xltpath"
    End Sub

    Have you tried to record this action?


+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1