Thread: [Solved] Hide Command Buttons
View Single Post
 
Old 01-02-2015, 09:04 PM
LaurieH LaurieH is offline Windows 7 64bit Office 2007
Novice
 
Join Date: Jan 2015
Location: Perth, Australia
Posts: 6
LaurieH is on a distinguished road
Default Hide Command Buttons

Hi, by asking this question it's obvious my VBA skills are lacking, I've searched the internet and can't find a working solution, so many links take me to excel. Here's my problem, I have a form, with two (2) command buttons, one is to print the document, when this button is pressed I want both buttons to be hidden so that they do not print, something along the lines of " CommandButton22.Visible = False" and after printing I want buttons visible, along the lines of " CommandButton22.Visible = True." I am using Word 2007. If it's easier in Word 2013 then I will upgrade.

Thanks for any help.
Regards
Laurie
Reply With Quote