Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Is it possible to create an envelope while using a protected docum
I have a protected letter in Word 2007 (docx). When I select the Mailing tab
in the ribbon, the Envelope button is not available. Is it possible to allow access to create an envelope when in a protected word document/ |
#2
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Is it possible to create an envelope while using a protected docum
JLW1 wrote:
I have a protected letter in Word 2007 (docx). When I select the Mailing tab in the ribbon, the Envelope button is not available. Is it possible to allow access to create an envelope when in a protected word document/ You'd need a macro that unprotects the document, inserts the envelope, and reprotects the document. You can put a button on the Quick Access Toolbar to run the macro. Here's a fairly minimal macro to do the job. I tested it in Word 2003; I don't have 2007 here, but it should work the same. Sub ProtectedEnvelope() Dim dlg As Dialog With ActiveDocument If .ProtectionType wdNoProtection Then .Unprotect End If Set dlg = Dialogs(wdDialogToolsEnvelopesAndLabels) dlg.DefaultTab = wdDialogToolsEnvelopesAndLabelsTabEnvelopes dlg.Show .Protect Type:=wdAllowOnlyFormFields, NoReset:=True End With End Sub -- Regards, Jay Freedman Microsoft Word MVP FAQ: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. |
#3
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Is it possible to create an envelope while using a protected d
Shoot, that's what I feared. Thanks Jay!
"Jay Freedman" wrote: JLW1 wrote: I have a protected letter in Word 2007 (docx). When I select the Mailing tab in the ribbon, the Envelope button is not available. Is it possible to allow access to create an envelope when in a protected word document/ You'd need a macro that unprotects the document, inserts the envelope, and reprotects the document. You can put a button on the Quick Access Toolbar to run the macro. Here's a fairly minimal macro to do the job. I tested it in Word 2003; I don't have 2007 here, but it should work the same. Sub ProtectedEnvelope() Dim dlg As Dialog With ActiveDocument If .ProtectionType wdNoProtection Then .Unprotect End If Set dlg = Dialogs(wdDialogToolsEnvelopesAndLabels) dlg.DefaultTab = wdDialogToolsEnvelopesAndLabelsTabEnvelopes dlg.Show .Protect Type:=wdAllowOnlyFormFields, NoReset:=True End With End Sub -- Regards, Jay Freedman Microsoft Word MVP FAQ: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
create new envelope definitions | Page Layout | |||
Envelope in protected document | Microsoft Word Help | |||
Create an envelope template | Microsoft Word Help | |||
create new mailing labels with names & addres from exsisting docum | Mailmerge | |||
HOW DO I CREATE A ENVELOPE TEMPLATE | Microsoft Word Help |