News:

BB code in posts seems to be working again!
I haven't turned on every single tag, so please let me know if there are any that are used/needed but not activated.

Main Menu

Containers - Lists

Started by DGR2017, June 07, 2017, 06:33:49 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

DGR2017

Hi,

How do I hide and show contents of List with a VBA code ? Please help me with sample code.

Thank you

Yacine

#1
The basis of hiding shapes is nicely presented here: http://www.visguy.com/2006/09/05/the-hidden-world-of-visio-shapes/
For lists, you will need to iterate over the elements of the list and apply one of the many possibilities described aboce to hide them.
Use GetMemberShapes to access the elements: https://msdn.microsoft.com/de-de/library/office/ff766306.aspx
Yacine

Browser ID: smf (is_webkit)
Templates: 4: index (default), Display (default), GenericControls (default), GenericControls (default).
Sub templates: 6: init, html_above, body_above, main, body_below, html_below.
Language files: 4: index+Modifications.english (default), Post.english (default), Editor.english (default), Drafts.english (default).
Style sheets: 4: index.css, attachments.css, jquery.sceditor.css, responsive.css.
Hooks called: 162 (show)
Files included: 34 - 1306KB. (show)
Memory used: 1057KB.
Tokens: post-login.
Cache hits: 13: 0.00224s for 26,766 bytes (show)
Cache misses: 2: (show)
Queries used: 17.

[Show Queries]