Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
How do you get the envelopes option to work in a protected doc?
I have a protected letter that allows fields to be filled in. However, when
trying to print envelopes, the option is ghosted. What rights need to be changed to allow printing of envelopes? |
#2
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
How do you get the envelopes option to work in a protected doc?
You will have to unlock the template - the basic code required is similar to
that at http://word.mvps.org/FAQs/MacrosVBA/...ProtectDoc.htm -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org Lisa@aig wrote: I have a protected letter that allows fields to be filled in. However, when trying to print envelopes, the option is ghosted. What rights need to be changed to allow printing of envelopes? |
#3
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
How do you get the envelopes option to work in a protected doc
Thanks for your help. Unfortunately, I am not familiar with VBA coding. I
looked at the code you suggested, but it is all greek to me. I'm sure I could figure it out in time, but time is not available at this point. "Graham Mayor" wrote: You will have to unlock the template - the basic code required is similar to that at http://word.mvps.org/FAQs/MacrosVBA/...ProtectDoc.htm -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org Lisa@aig wrote: I have a protected letter that allows fields to be filled in. However, when trying to print envelopes, the option is ghosted. What rights need to be changed to allow printing of envelopes? |
#4
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
How do you get the envelopes option to work in a protected doc
Add the following macro to a toolbar button on the form (or run it on exit
from one of the fields) Sub EnvelopeInForm() Dim i As Integer Dim bProtected As Boolean 'Unprotect the file If ActiveDocument.ProtectionType wdNoProtection Then bProtected = True ActiveDocument.Unprotect Password:="" End If Dialogs(wdDialogToolsEnvelopesAndLabels).Show 'Reprotect the document. If bProtected = True Then ActiveDocument.Protect _ Type:=wdAllowOnlyFormFields, NoReset:=True, Password:="" End If End Sub See http://www.gmayor.com/installing_macro.htm -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org Lisa@aig wrote: Thanks for your help. Unfortunately, I am not familiar with VBA coding. I looked at the code you suggested, but it is all Greek to me. I'm sure I could figure it out in time, but time is not available at this point. "Graham Mayor" wrote: You will have to unlock the template - the basic code required is similar to that at http://word.mvps.org/FAQs/MacrosVBA/...ProtectDoc.htm -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org Lisa@aig wrote: I have a protected letter that allows fields to be filled in. However, when trying to print envelopes, the option is ghosted. What rights need to be changed to allow printing of envelopes? |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Printer selection option in envelopes and labels within word. | Microsoft Word Help | |||
Printing envelopes using Envelopes and Lables option | Microsoft Word Help | |||
Envelopes and Protected Forms | Microsoft Word Help | |||
Creating envelopes in a protected document | Microsoft Word Help | |||
Option buttons don't work when word document is protected | Tables |