views:

69

answers:

0
+1  Q: 

WORD 2007 w/VBA

Hi Folks,

I have a question regarding a WORD 2007 form used to gather information from users. I had it working in WORD 2003 then pulled it over into WORD 2007 and got it working but couldn't leave well enough alone and decided to write it from scratch in WORD 2007. I have cursed that decision ever since....

What I have is some VBA that generates a sequence number and posts it into a field/bookmark in a document. Then I used the pick a date control to capture a date. Then there are content controls to capture data elements about the user, e.g., name, email address, which get selected from a drop down list. Then there are content controls to capture information about systems, again, name, location, OS, etc.

Then there is a section of the template that used legacy check boxes to identify specific tools and reports, that the user needs to select.

Finally followed by a content control to capture a name and another to pick another date and then the last content control is to capture notes.

The problem I am having is that the VBA code works fine. The sequence number gets generated and posted to the document. That is as far as I get. I understand that the document must be protected for the legacy checkboxes to function as intended. I have tried dviding the template up into sections and and protecting only that section containing the legacy check marks. I have a situation wherein if I "Open" the .dotm file the content controls work but as soon as I double click the .dotm none of the content controls work...

I would be happy to send you the file if it would help you help me....

Thanks,

Ferg