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

  • SEARCH
  • Home
  • 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 6760853
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T14:06:51+00:00 2026-05-26T14:06:51+00:00

I need some advice on how to go about a particular issue I’m trying

  • 0

I need some advice on how to go about a particular issue I’m trying to build a work around for, but keep finding myself between a couple of poor options.. The application has a large collection of word doc templates. The application is to on the fly generate one of the templates and fill in the bookmarked values.

I have a few options on how to go about this…

Use the Interop Library: I pretty easily fill in an actual, templated document with the Interop library by going through and grabbing all the bookmarks and filling them in and saving the document again.

Issue: I need to be able to support version of Word from 2003-2010; version becomes a concern here… if I link against the wrong version of the Interop.Word, might it cause compatibility issues for users of older versions? I don’t have much to test with here, so I’m not sure…

VBA Macro: I’ve actually used this method to build excel spreadsheets before; write fields to a csv, read into a new document generated from template via VBA, and ta-da, new document.

Issue: Security settings on end-user PCs are likely to be extremely strict. VBA likely to be disabled.

Is there a better way of going about this that I’m not seeing? Is the Interop version likely to be less of a big deal than I thought? Other than OfficeXML, which is a catastrophe for the documents we’re using (I’ve looked..), is there another good possibility?

Edit: submitted early.. damn browser -_-;

  • 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-26T14:06:51+00:00Added an answer on May 26, 2026 at 2:06 pm

    VBA is usually blocked in documents and templates that are opened. But templates in the Word startup directory are allowed. I’m not sure about Word 2007 and 2010, but in Words 97 to 2003 there was a wrdstart directory that could contain templates that were loaded on startup of word. The normal.dot file was in there, and you could add your own to contain scripts, macros toolbars and other stuff.

    I think this hasn’t changed in essence since then, although I don’t do a lot of Word development anymore, so I’m not sure.

    [edit]

    Yes, it still exists. In Word 2010 you’ll find the setting in File -> Options -> Advanced -> File Locations (button). There is a ‘Startup’ setting, pointing to a directory. Templates in this folder will be loaded on startup and their macro’s should be able to be executed.

    Check File -> Options -> Trust Center -> Trust Center Settings (button). There, you can specify allowed documents, and trusted location. The wrdstart directory is in there, but you can add your own.

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

Sidebar

Related Questions

please I need some advice about design approaches in iPhone programming. I want to
I need some advice about how to logically proceed to limit the use of
I am trying to embrace TDD and started learning about mocking. I need some
I need some advice about the design on my app. I have several screens
I just need some advice about using tags. I'm working on a website right
i'm really confused about something and need some advice. i want to be able
I need some advice when it comes to solving a sorting algorithm. This particular
I am delving into domain events and need some advice about persisting updates to
Need some advice about a best-approach for this problem: I've fallen madly in love
I need some advice how to go about this: 1) I retrieve an XML

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.