+ Reply to Thread
Results 1 to 4 of 4

Opening an xlt-file as an xls-file

  1. #1
    Registered User
    Join Date
    10-21-2005
    Posts
    4

    Opening an xlt-file as an xls-file

    Is that possible?

    When I use Workbooks.Open it opens as an xlt-file. But I want to open it as a new xls-file based on the xlt-template.

  2. #2
    NickHK
    Guest

    Re: Opening an xlt-file as an xls-file

    Whitestar,
    Using Excel 2000 and :
    Application.Workbooks.Open PathToTemplateFolder & MyXLTTemplate

    gives me an .xls file.

    What's your code ?

    NickHK

    "Whitestar" <[email protected]> wrote
    in message news:[email protected]...
    >
    > Is that possible?
    >
    > When I use Workbooks.Open it opens as an xlt-file. But I want to open
    > it as a new xls-file based on the xlt-template.
    >
    >
    > --
    > Whitestar
    > ------------------------------------------------------------------------
    > Whitestar's Profile:

    http://www.excelforum.com/member.php...o&userid=28253
    > View this thread: http://www.excelforum.com/showthread...hreadid=478163
    >




  3. #3
    Registered User
    Join Date
    10-21-2005
    Posts
    4
    Thanks for replying NickHK

    I found it out. Incredible what can be accomplished by reading the help. ;-)

    In Excel 2003 i wrote:
    Workbooks.Open Filename:= "c:\temp\testfile.xlt", Editable:=False

    The "Editable:=False" bit did the trick :-)

  4. #4
    Dave Peterson
    Guest

    Re: Opening an xlt-file as an xls-file

    Or even:

    workbooks.Add template:="c:\temp\testfile.xlt"



    Whitestar wrote:
    >
    > Thanks for replying NickHK
    >
    > I found it out. Incredible what can be accomplished by reading the
    > help. ;-)
    >
    > In Excel 2003 i wrote:
    > Workbooks.Open Filename:= "c:\temp\testfile.xlt", Editable:=False
    >
    > The "Editable:=False" bit did the trick :-)
    >
    > --
    > Whitestar
    > ------------------------------------------------------------------------
    > Whitestar's Profile: http://www.excelforum.com/member.php...o&userid=28253
    > View this thread: http://www.excelforum.com/showthread...hreadid=478163


    --

    Dave Peterson

+ 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