Results 1 to 2 of 2

Thread: Lost?

  1. #1
    Gold Lounger
    Join Date
    Dec 2000
    Hollywood (sorta), California, USA
    Thanked 0 Times in 0 Posts


    Did something break or am I missing something upstairs?

    In my efforts to fully explore the other techniques I've discovered here, I'm trying to make a fully independent template (my others are fully dependent upon a global app) from which to create document forms. This should be, like, simple, but when I File>New and select the template the document created has none of the code that resides in the template Thisdocument object or the Main code module. Nothing. I do get a reference to the template .dot, but is this the way it's supposed to work?
    Kevin <IMG SRC= alt="Keep the change, ya filthy animal...">
    <img src=/w3timages/blackline.gif width=33% height=2><img src=/w3timages/redline.gif width=33% height=2><img src=/w3timages/blackline.gif width=33% height=2>

  2. #2
    Super Moderator
    Join Date
    Dec 2000
    New York, NY
    Thanked 29 Times in 27 Posts

    Re: Lost?

    Hi Kevin,

    You've lost me a little here, too:

    You created a template that contains code in the ThisDocument module as well as in a standard code module.

    You then created a new document based on this template.
    From this document, you then go to look at the code in the VB Editor.

    What you should be seeing:
    The document itself will contain no code.
    The attached template will also be visible in the Project window, and the code in its various modules should be viewable.

    Is this not what you're seeing?


Posting Permissions

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