Hide a command button when printing

Posted on 2006-04-06
Last Modified: 2012-05-05
I'm working on a word form(template) in which I'm adding rows to several different tables dynamically. At the top of each table is an "add row" button, which adds a row to that particular table. I do not want these buttons to print out. I've looked for solutions, but can't find one that is workable for me. I can't delete the buttons, because if the user re-opens the document to edit, they need to be available. What I'd like to do is hide the buttons only when printing, but make them visible again right afterwards. Anyone know how to do this?
Question by:Mavislee
    1 Comment
    LVL 76

    Accepted Solution

    First suggestion: Use a toolbar button or a macrobutton field instead.
    Second option: Save the document. Delete the button. Print. Close the document without saving.
    This site tells you how to easily delete the button

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Highfive Gives IT Their Time Back

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    A few years ago I was very much a beginner at VBA, and that very much remains the case today.  I'll do my best to explain things as I go in the hope that other beginners can follow.  If you just want to check out a tool that creates a Select Case fu…
    This is written from a 'VBA for MS Word' perspective, but I am sure it applies to most other MS Office components where VBA is used.  One thing that really bugs me is slow code, ESPECIALLY when it's mine!  In programming there are so many ways to…
    This video walks the viewer through the process of creating a watermark for their document, customizing it, and saving it for viewing/printing needs.
    This video shows where to find templates, what they are used for, and how to create and save a custom template using Microsoft Word.

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now