Protecting selected sections of a document in Microsoft Word 2008

For the last several weeks I’ve been struggling to find a way get Microsoft Word 2008 to allow for only specified sections of a document to be protected. I’ve used this feature in previous versions of Word and was shocked to find that it was, apparently, missing in 2008. Tonight, while looking through menu options, I found the answer to this problem and I wanted to take a moment to share my find.

The documents that I need apply this to are a series of Microsoft Word 2008 specific templates. This includes fax, letter, memo, etc. All of the documents require the use of form fields that allow the user to enter information and then tab to the next field. In order to be able to tab through the fields the document must be protected. This essentially freezes everything on the page except the contents of the form fields. The problem with this is that formatting can not be applied to the contents of form fields. The body of the documents require the use of all formatting functions. Also, spell checking does not function within protected documents.

Thankfully Microsoft has provided a solution to this problem through the use of continuous section breaks. Section breaks are intended to be used for inserting breaks for chapters and such without actually creating a page break. For the purpose of these templates, however the continuous section break will allow us to leave one or more sections of the document unprotected.

A basic guide to create a template using this method:Form Toolbar

Start by creating the layout of the document. Use the”Forms” toolbar to insert Text Form Fields where tabbable fields will be needed.

When the layout of the document is complete with all styles applied and Text Form Fields inserted the next step is to determine which sections of the document will need to be protected and which will need to remain unprotected.

Insert Section break from menuTo insert a section break navigate to the Insert drop-down menu, hover over “Break,” and then click on “Section Break (Continuous)”

Once the appropriate continuous section breaks have been inserted the document can be protected. In order to choose which sections of the document will be protected you must navigate to the “Tools” drop-down menu, and then click on “Protect Document.” On the resulting dialog box choose the radio option for “Forms” and then click the “Sections” button. Another dialog box will appear which will allow you to select any or all of the existing document sections to be protected. Check the appropriate check-boxes and click “OK” on both dialog boxes to complete the protection process. At this point you should be able to tab through the Text Form Fields and enter information into each field without being able to disturb static information that is located in a protected section. The area in the unprotected sections of the document can be edited, formated, and modified as usual.

Protect document menu option

Protected section selection dialog boxProtect Document dialog boxI have one remaining issue with with section protection in Microsoft Word 2008. While manual spell check will function perfectly well on the unprotected sections of the document, the Auto Spell Check will not. I am searching for a solution to this problem but it appears to be a bug in the software. I hope that Microsoft will address this issue in an upcoming software update.

Word 2008 for Mac Woes and a Rant

Awhile back, my partner and I took on a project to create a series of Word templates for a design firm. They provided all the specifications, measurements, fonts, etc. All we would have to do is make the templates fit to their specs. We knew from the beginning that they would be using the templates in a Mac only environment and that they were not concerned about cross compatibility. We proceeded to create the documents in a PC environment since neither of us had a Mac readily available to us. Between us we were able to create the documents to function just the way they requested. The end user would be able to tab through fields until they reached the main part of the document where they could type text, apply formating and retain the ability to use the auto spell check functions. Several fields located in the headers and footers that would update dynamically by using a simple macro that ran when leaving a form field and whenever the document was opened or saved. It was a complex solution that required a good bit of research to put together but it all worked.

The documents were sent and tested in the Word 2004 environment. There were a few issues that would require the use of a Mac to correct. My partner ordered a Mac mini and the project paused for quite some time. The new year began and it was time to get back on the project. During the pause Office 2008 for Mac was released and the client migrated the entire company to the new version. We corrected some of the minor details in the templates and assumed that all would be well with the world. We were wrong.

Several major issues arose within the templates. The section breaks were broken, the entire document became protected which meant the body area could not be edited while the form fields were in protected mode. In addition to this the header and footer fields would not update, and the spell check was non-functional. The documents were completely unusable. The client has made it clear that they will not be rolling back to the previous version of office and that we will need to come up with a solution for the templates.

I’ve studied the new software with what little available information I can find. I have found only one forum that mentions the problem of not being able to protect only a portion of the document by using continuous section breaks. This forum suggests that it is a bug ather than a intentional change in the software. This would be somewhat encouraging except that it seems to be a bug that nobody cares much about. Except for me, that is, since It is the key to the entire problem. If the section breaks worked then the spell check would be operational, and the form fields could be locked to enable the user to tab from one to another and the body of the document could be edited and formated freely. the headers and footer fields can, then, be updated using Apple Script just as they were updated using VBA macros before.

The client, unfortunately, is going to have to sacrifice something in their request. My current plan is to suggest the use of a table which can be tabbed through or arrow keys can be used to navigate for the portions of the document I had used form fields in the original templates. I will still need to learn enough AppleScript to update the Header and Footer fields. Assuming that I’m not missing anything in my plan this should resolve the worst of the issues.

One of the biggest challenges through this whole ordeal is that, because the software is so new there are very few print resources. In fact, I’ve only been able to locate 2 books available.
[asa]059651431X[/asa]
[asa]032153400X[/asa]
Ultimately, for me, this problem means that I will end up just breaking even on expenses for this project, if I’m lucky. I don’t know when I might have another project that would require a Mac. What really gets me cranked, though, is that Microsoft has started to make it clear that they don’t care about cross platform or backward compatibility. Another example of this is how poorly Vista communicates with XP computers on a network. There may be ways around the issue but they certainly are not simple. The entire office suite has changed the document structure in such a way that older versions of the software can’t even open documents created in the new version without a compatibility plugin for the computer with the older version installed. So we have expensive software that has been changed so drastically in a single version change that it’s practically an entirely new piece of software. To top it all off the new version makes it so much harder for a power user to work with the software. Did the desire to make the software easier for a completely new user to learn make them forget that they have a user base that has already taken the time and energy to learn what was there before? Now why are we not all just dumping Microsoft Office and moving to something that cares about maintaining some form of standards and has the minor little benefit of being available for FREE?

A quick introduction

I really wanted to start this site off with a really great design that I created myself. The problem is, that while I know the mechanics of theme development, the design part gets me every time. When Performancing.com posted their latest theme, which I found to be pleasing, I decided that I’d rather spend my time writing rather than fussing over a design that I would never be able to get “quite right.” I’m not a designer, I don’t really want to be a designer. This site will, eventually, get a facelift. Until then, I much prefer the backend work of incorporating functionality to WordPress driven websites. I can’t say that I’ve coded plugins but I have “tweaked” quite a few. Mostly, though, I am a hunter. I enjoy the challenge of going and finding an existing solution to a specific need or problem. If I have to tweak a solution a bit to fit my needs then I do that.

This brings me to the point of this site. I intend for DaisyOlsen.com to be a place where I post things that I find interesting and relevant to my intended goal of turning WordPress consulting into a profession. This might include WordPress news, short tutorials based on my current work, and general musings about the WordPress community. Non WordPress related items may show up from time to time. I often do other project based work involving a variety of desktop applications, mostly of the Microsoft Office variety. I know that I would not be able to do the work that I do if it were not for the generous writings of other bloggers. I hope that I will be able to do my share to document tips and tricks as I happen across them in my daily work.