A family of Microsoft word processing software products for creating web, email, and print documents.
Dear Salah Uddin2,
I understand your frustration. I apologize that the issue has not been resolved yet. I have a few suggestions that you can try:
Method 1: Print the document as a PDF
- Open the document that you want to print.
- Click the File tab.
- Click Print.
- In the Printer section, select Microsoft Print to PDF.
- Click Print.
- In the Save As dialog box, navigate to the location where you want to save the PDF file, and then type a name for the file.
- Click Save.
- Open the PDF file in a PDF reader.
- Print the PDF file.
Method 2: Use a Macro
You can create a macro to print the document and include the Classification (Sensitivity) tab. To do this, follow these steps:
- Open the document that you want to print.
- Press
Alt+F11to open the Visual Basic Editor. - Insert a new module by clicking
Insert>Module. - Paste the following code into the module:
VB.Net
Sub PrintWithSensitivity() ' Get the document properties Dim docProps As DocumentProperties Set docProps = ActiveDocument.Properties ' Get the classification (sensitivity) property Dim classification As String classification = docProps("Classification") ' Get the printer name Dim printerName As String printerName = ActiveWindow.ActivePrinter ' Print the document ActiveDocument.PrintOut Preview:=False, PrintRange:=wdPrintAllDocument, _ FileName:=ActiveDocument.FullName, PrinterName:=printerName, _ PrintToFile:=True ' Add the classification (sensitivity) to the footer Dim footer As Footer Set footer = ActiveDocument.Footers(wdHeaderFooterPrimary) footer.PageSetup.PageNumberStyle = wdPageNumberStyleWordNum footer.PageSetup.HeaderFooterType = wdHeaderFooterDifferentFirstAndEven footer.PageSetup.DifferentFirstPageHeaderFooter = False footer.PageSetup.OddFooter.Text = classification ' Print the document again ActiveDocument.PrintOut Preview:=False, PrintRange:=wdPrintAllDocument, _ FileName:=ActiveDocument.FullName, PrinterName:=printerName End Sub
- Save the module and close the Visual Basic Editor.
- To run the macro, click the Developer tab, and then click Macros.
- In the Macro name box, type
PrintWithSensitivity, and then click Run.
Note: The macro will print the document twice. The first time, it will print the document without the Classification (Sensitivity) tab. The second time, it will print the document with the Classification (Sensitivity) tab added to the footer.
I hope that one of these suggestions will help you resolve the issue. If you have any further questions, please do not hesitate to ask.
Regards,
Microsoft Community