Avatar of Mark Epstein
Mark EpsteinFlag for United States of America asked on

Problem with "Protected view" of MS Word document templates

I have a collection of MS Word templates that have "bookmarks" inserted into them. I use a VB front end to merge data from the VB form into the MS Word templates. These templates were created between 1997 and 2003. The last version used to create them was Word 2003.

I am now using Office 2010 and 2013. The problem is that if the document opens in "Protected view", the merge won't work and the app crashes. In fact, if I try to open the template in Word, it crashes (see screen shots attached).  When I create Word documents using the current installation of Word, they open in protected view, but I can then click the "Enable editing" button and make them editable. It is only the older documents that I am having trouble with.

Interestingly, some of the templates when launched will open in edit mode, and others in protected view. The ones that open as an editable document do not crash. If I can figure out how to make them all open as an editable document, then I think I have the problem solved.

So there are two parts to my question here:

1. How do I make it so the older Word templates open as an editable document so they do not crash?

2. Be able to open these documents with office automation (VB calls Word to open then opens the document) so that they open automatically as an editable document so the VB front end won't crash?

I am attaching two files below - the photo
crash-1.jpg
crash-2.jpg
Microsoft WordMicrosoft OfficeVisual Basic Classic

Avatar of undefined
Last Comment
Dan Craciun

8/22/2022 - Mon
SOLUTION
Dan Craciun

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
ASKER
Mark Epstein

That is all good, but why are my older documents crashing when I open them?
ASKER CERTIFIED SOLUTION
Dan Craciun

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23