Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Command Buttons in Visio Layers

Status
Not open for further replies.

pjmcginley25

Technical User
Aug 10, 2011
1
US
I can't figure out what code I would need to hide certain command buttons in Visio based on the layer that is selected. I've tried right clicking on the command button and going to Format > Layer then selecting the layers that I want for that button, but the command button does not save these settings. I've tried using the VB command me.commandbutton1.Layer command, but it always gives me an error message and .visible command does not show up in Visio but it does show up in Excel.

I would appreciate the help.

Thanks,
P
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top