+ Reply to Thread
Results 1 to 4 of 4

template code in one place

  1. #1
    bill
    Guest

    template code in one place

    All,

    Is there any way to keep Excel template VBA code (workbook, forms,
    modules and classes) in just one location? Like a MS Word .dot
    template? So that when the user creates a .xls from the .xlt the
    functionality is available, but the code is not actually located in the
    newly created .xls.

    TIA,

    Bill


  2. #2
    Bob Phillips
    Guest

    Re: template code in one place

    Yes, set it all up in a new file, and save that file as a template named
    Book.xlt in the XLStart directory.

    --
    HTH

    Bob Phillips

    (remove xxx from email address if mailing direct)

    "bill" <[email protected]> wrote in message
    news:[email protected]...
    > All,
    >
    > Is there any way to keep Excel template VBA code (workbook, forms,
    > modules and classes) in just one location? Like a MS Word .dot
    > template? So that when the user creates a .xls from the .xlt the
    > functionality is available, but the code is not actually located in the
    > newly created .xls.
    >
    > TIA,
    >
    > Bill
    >




  3. #3
    bill
    Guest

    Re: template code in one place

    Yea, but when I create the new .xls from the .xlt all of the VBA code
    is included in the new .xls file.

    Bill


  4. #4
    Bob Phillips
    Guest

    Re: template code in one place

    So, just don't put any VBA in the template!

    --
    HTH

    Bob Phillips

    (remove xxx from email address if mailing direct)

    "bill" <[email protected]> wrote in message
    news:[email protected]...
    > Yea, but when I create the new .xls from the .xlt all of the VBA code
    > is included in the new .xls file.
    >
    > Bill
    >




+ 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