Collections (VBA/Powerpoint/2000)

Hi everyone.

I was wondering if someone could give me a few pointers regarding Collections?

I'm working with a form that has lots of Command Buttons on it, and I'm wanting to get them to disappear or appear, depending on the users selection. I can do this quite easily by referring them individually, but this seems to be quite cumbersom. i.e.

Re: Collections (VBA/Powerpoint/2000)

Collections are wonderful! I have traded in arrays for collections. No more ReDim's <img src=/S/joy.gif border=0 alt=joy width=23 height=23> <img src=/S/exclamation.gif border=0 alt=exclamation width=15 height=15> Plus you can access the items by number (1-based) or by name. I program GIS (geographic information systems) and have one routine that collects stuff and then other routines that modify the items in the collection (move, colorize, sort, group, etc). See attached workbook for a silly example along the lines that you want.

<font face="Comic Sans MS">Sam Barrett, CACI </font face=comic><small>And the things that you have heard... commit these to faithful men who will be able to teach others also. 2 Timothy 2:2</small>