Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 12-13-2016, 11:28 AM
Phil H Phil H is offline Toggling Layers Windows XP Toggling Layers Office 2010 64bit
Advanced Beginner
Toggling Layers
 
Join Date: Jun 2010
Posts: 81
Phil H is on a distinguished road
Default Toggling Layers

Visio 2010
File name: Octagonal Planter.vsd
Tab name: 13-Inch (a drawing of a cement mold). Can change name to simplify code.
Layer name: Construction. Command Button 1.
Layer name: Cement Fill. Command Button 2.



Cement Fill layer is over (in front of) Construction layer.

What would the code be to use a single button to toggle each layer on or off independently?

Would I put the code behind each button, or in a module? There are eight tabs with different drawings/names.
Reply With Quote
  #2  
Old 12-13-2016, 01:48 PM
JimP JimP is offline Toggling Layers Windows 10 Toggling Layers Office 2013
Experienced User
 
Join Date: Jun 2010
Location: Virginia Beach, VA
Posts: 742
JimP will become famous soon enough
Default

I am not familiar with using code in Visio but, your question drew my interest. I googled "using code to toggle layers in visio" and came up with multiple hits that may help you. Try it out...

HTHs
Reply With Quote
  #3  
Old 12-14-2016, 04:48 AM
Phil H Phil H is offline Toggling Layers Windows XP Toggling Layers Office 2010 64bit
Advanced Beginner
Toggling Layers
 
Join Date: Jun 2010
Posts: 81
Phil H is on a distinguished road
Default

I did - and every one had nuances that would not work for me. I'm looking for a simple solution, nothing complex like found online. Furhter, I'm not familiar with coding for Visio. I'm mostly an Excel user. Appreciate your advice, but could someone familiar with Visio coding lend a hand.....
Reply With Quote
  #4  
Old 12-14-2016, 10:27 AM
JimP JimP is offline Toggling Layers Windows 10 Toggling Layers Office 2013
Experienced User
 
Join Date: Jun 2010
Location: Virginia Beach, VA
Posts: 742
JimP will become famous soon enough
Default

Well, if you would look deeper into this forum you will find that it is not too active with Visio users...if fact, I am probably the most active in responding to Visio questions. However, since retiring I have become less active since the versions have upgraded and my use with Visio has downgraded. With that in mind, I would refer you to another forum where you may find additional assistance. While I am not sure how active it is or how long you may wait to get a response, try http://visguy.com/vgforum/

HTHs...
Reply With Quote
  #5  
Old 12-14-2016, 10:46 AM
Phil H Phil H is offline Toggling Layers Windows XP Toggling Layers Office 2010 64bit
Advanced Beginner
Toggling Layers
 
Join Date: Jun 2010
Posts: 81
Phil H is on a distinguished road
Default

Thanks, Jim. Will give it a try. Appreciate your help.
Reply With Quote
Reply

Tags
toggle layer

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Toggling boxes, words appear? arlanarlan Word 0 12-16-2015 12:00 PM
Editing Freeform Points/Layers In Draw Mode LEG Word 4 06-19-2013 08:46 PM
Toggling Layers How do I edit layers (builds)? smw PowerPoint 4 06-15-2012 12:33 AM
Layers for multiple languages? Annika PowerPoint 0 08-18-2011 02:11 AM
Toggling Checkbox Color Phil H Word VBA 0 06-18-2010 10:51 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 09:05 AM.


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