Microsoft Office Forums Hide ActiveXcontrol when Printing

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 12-03-2019, 05:04 PM
cosmick cosmick is offline Hide ActiveXcontrol when Printing Windows 10 Hide ActiveXcontrol when Printing Office 2016
Novice
Hide ActiveXcontrol when Printing
 
Join Date: Nov 2019
Posts: 1
cosmick is on a distinguished road
Default Hide ActiveXcontrol when Printing

Hi,



I have a checkbox which hides/Unhides a bookmark when clicked. The bookmark is a paragraph in a document.

When I print the document the checkbox is still visible. Is there a way in Microsoft Word 2016 to stop the checkbox from appearing while printing the document or converting it to pdf.

Thanks!
Reply With Quote
  #2  
Old 12-03-2019, 05:10 PM
Guessed's Avatar
Guessed Guessed is offline Hide ActiveXcontrol when Printing Windows 10 Hide ActiveXcontrol when Printing Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 1,374
Guessed is a jewel in the roughGuessed is a jewel in the roughGuessed is a jewel in the roughGuessed is a jewel in the rough
Default

You would need to hijack the Print and SaveAs functions to hide the checkbox and then reveal it after the print/saveas.

Wouldn't it be easier to get rid of the activeX checkbox and put the macro to show or hide the bookmark into the Ribbon or QAT instead?
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote
  #3  
Old 12-03-2019, 06:06 PM
Charles Kenyon Charles Kenyon is online now Hide ActiveXcontrol when Printing Windows 10 Hide ActiveXcontrol when Printing Office 2016
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 6,172
Charles Kenyon is a name known to allCharles Kenyon is a name known to allCharles Kenyon is a name known to allCharles Kenyon is a name known to allCharles Kenyon is a name known to allCharles Kenyon is a name known to all
Default

The modification that Andrew suggests can be saved in the individual document or its template.
Reply With Quote
Reply

Tags
microsoft word 2016, print macro

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Hide Macro Button when printing Eduardo Care Word VBA 6 11-09-2015 04:19 PM
How to hide the Audio Icon while PRINTING chrismhart PowerPoint 1 10-30-2014 03:33 PM
Hide ActiveXcontrol when Printing grayed 'choose an item' text appears in printing, how to hide? bjsa06 Word 3 12-19-2013 12:07 AM
Hide ActiveXcontrol when Printing Hide Checkbox When Printing vinceplunkett Word 1 12-03-2013 01:53 AM
Hide ActiveXcontrol when Printing Hide non-master, non-themed objects for printing lineweaver PowerPoint 1 05-20-2013 01:10 AM


All times are GMT -7. The time now is 04:03 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2019 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft