I am reposting this question because I did not get an answer the first time, I'm hoping it was because it was in the wrong zone and not because its unanswerable. I apologize if someone sees this twice (I'm having trouble picking zones in my browser - customer support is working on that.)
I have a Word template which I designed in '03 and have now converted to '07. One of the features I used heavily was to copy a statement into autotext and then assign it to a button on a custom toolbar. I'm aware you can't do that anymore, at least not without creating code for it.
I've figured out how to put the statements into a custom gallery using the building blocks feature and how to put a custom gallery button on the quick toolbar.
My problem is that I also need to have the document protected in order to continue to use legacy fields which have calcuations and references to other fields throughout the document. Apparently '07 will not allow you to use the gallery buttons, even if the section in which you are attempting to insert text is unprotected.
So I"m looking for code that will:
1 - turn the protection off
2 - open the custom gallery so the user can insert the text he/she wants.
3 - turn the protection back on.
Any help with this. I'd consider myself of intermediate ability with Access VBA, but I'm still a beginner with Word VBA.
If this can't work an alternative strategy would be greatly appreciated. Ultimately I want the user to be able to view a list of "autotext" entries grouped by a category and choose the one they want. I have discovered that you can use the buildingblocks organizer to view and insert in an unprotected section, but there's no way to filter or group the entries easily and this makes it way too complicated for most of my users who have rudmentary understanding of Words features at best.
any help would be greatly appreciated.