Author Topic: Containers - Lists  (Read 2155 times)

0 Members and 1 Guest are viewing this topic.

DGR2017

  • Newbie
  • *
  • Posts: 7
Containers - Lists
« on: June 07, 2017, 01:33:49 AM »
Hi,

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

Thank you

Yacine

  • Hero Member
  • *****
  • Posts: 3236
Re: Containers - Lists
« Reply #1 on: June 07, 2017, 02:07:54 AM »
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
« Last Edit: June 07, 2017, 02:09:28 AM by Yacine »
Yacine