Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6607307
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T19:29:22+00:00 2026-05-25T19:29:22+00:00

First off, this might be the simplest questions on this site depending on the

  • 0

First off, this might be the simplest questions on this site depending on the answer.
Question: Is Embedded VB scripts supported in Office Word templates (.dot/.dotx)?

If not, thank you!
If it is, why is this not working:

http://postimage.org/image/2uubobv38/

It works flawlessly in a .doc format but not when i try to save it as a template.
I’m running Office 2007 but 2003 doesn’t work either, is there something special you need to enable for using embedded scripts in a .dot file?

I don’t know if this is the proper forum for questions like this, but i really don’t know anywhere else to turn regarding programming in general so.. help?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T19:29:23+00:00Added an answer on May 25, 2026 at 7:29 pm

    Ok so after some logical debugging (read: days), i found out that it IS supported, just not in the “traditional” way of thinking.

    In a normal document, you apparently use the Open() function to load things when opening the document, because that’s what you do, you open the document.

    When using embedded scripts in a .dot file, you’re not opening the file.. you are creating a new instance of the .dot file so the function you should be using is New():

    Private Sub Document_New()
        UserForm1.Show
    End Sub
    

    This should show you form from “opening” a .dot file.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

First off, this question is ripped out from this question. I did it because
First off, let me preface this question by stating that I'm really a pretty
First off, I know that this question begs the other question - should the
first of all, I'm not a programmer, so the answer to this might be
First off, I know this may be a very stupid question, so don't shoot
This might be a 2 part question. First one is what am I doing
First off, let me preface this question by saying that my professor is firmly
First off, sorry if this is a near enough duplicate. I've found this question
Note: This might seem like a Super User question at first, but please read
First off, apologies if this is a complete noob question which could easily be

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.