Form printing - Do not print the greyed-out text

goodaudrey9494 Posted messages 2 Status Member -  
Argitxu Posted messages 5292 Registration date   Status Contributor Last intervention   -
Hello,

I just discovered the Developer option in Word 2007, and I’m a bit stuck. I would like that if the person hasn’t filled out the “Aa” field (the bold blue one), the grayish text that says something like “enter text…” doesn’t print. Is that possible? How?

Thanks :)

1 answer

  1. Argitxu Posted messages 5292 Registration date   Status Contributor Last intervention   4 844
     
    Hello

    The solution involves a macro.
    Watch this tutorial on faqword, with a downloadable example
    https://www.faqword.com/index.php/word/mise-en-forme/893

    --
    Argitxu
    1
    1. goodaudrey9494 Posted messages 2 Status Member
       
      It’s a bit complicated, isn’t there something simpler?
      0
      1. Argitxu Posted messages 5292 Registration date   Status Contributor Last intervention   4 844 > goodaudrey9494 Posted messages 2 Status Member
         
        Hello

        No, it’s not built into Word, hence the macro from M@rina. And it’s easy ;-)
        First, save the file as .docm to allow macros
        Copy the macro, the second one (Masquer2) which covers all incomplete content controls
        - Alt+F11
        - This Document
        - In the pane that appears on the right, paste the macro
        - File / Close and return to Word

        Then, you must run the macro before printing. It will be easier by integrating the command into the Quick Access Toolbar
        - Hover the cursor over the Quick Access Toolbar
        - right-click / customize the Quick Access Toolbar
        - Commands tab, choose macros
        - the copied macro name appears / select it / Add / OK

        You will just need to click the icon on the toolbar and the incomplete controls will disappear at print time

        Argitxu
        0