Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #3  
Old 12-03-2018, 08:44 PM
ivano ivano is offline show or hide layers in all pages Windows 10 show or hide layers in all pages Office 2013
Novice
show or hide layers in all pages
 
Join Date: Dec 2018
Posts: 3
ivano is on a distinguished road
Default

That worked perfectly... and much easier to add additional controls with your code version.
I added the checkboxes from Developer tab....Insert...Check Box (ActiveX Control).


For any other non-VBA coder who might happen to come across this post because of they have the same need as me:

added page 1 in front of my document;
assigned only one layer to the objects (must be only one layer assigned) which I wanted to hide/show throughout the document;
added the checkboxes, as just described above, into page 1;
pasted the macro into the macro enabled file;
ensured the checkbox number given by Visio and the assigned layer name corresponds to the appropriate macro section.


Now with a simple check or uncheck that layer becomes visible or hidden in all the pages throughout the entire document.


Thanks very much!
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with show/hide content control acontreras Word VBA 0 10-21-2014 07:28 PM
show or hide layers in all pages Tab symbols display with Show/Hide off Lowenburg Word 3 02-01-2012 03:57 PM
show or hide layers in all pages Show Hide info trintukaz Word 3 12-29-2011 12:23 AM
show or hide layers in all pages VBA to show/hide tables ccordner Word VBA 2 07-04-2011 03:00 AM
VBA to show/hide tables ccordner Outlook 0 07-01-2011 05:10 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 07:46 AM.


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