Word Auto-Expanding Subdocuments

dickohead

Registered User.
Local time
Tomorrow, 04:32
Joined
Dec 7, 2005
Messages
42
Hi all,

I'm currently using master/subdocuments Word in to save me having to update many letters when things change (phone numbers, required fields etc).

I'm also using input boxes to prompt the users for data that the letter then prefills for them (also into subdocuments).

The problem I'm having is that when the doucment loads I have this:

Code:
ActiveDocument.Subdocuments.Expanded = True

in the AutoOpen() section of a module, but it doesn't actually cause the subdocuments to be opened and locaed before the user is prompted for data.

I think it has something to do with the fact that when the document loads it is locked as a master document - I have been unable to figure out how to unlock it, load the subdocuments and then prompt users for input.

I have tried this:
Code:
ActiveDocument.Unprotect

But it only works for documents that are locked with form-fields (which my letters are also).

Any ideas?
 

Users who are viewing this thread

Back
Top Bottom