FuzMic
DataBase Tinker
- Local time
- Today, 09:54
- Joined
- Sep 13, 2006
- Messages
- 719
Hi guys Wow new image .. good show
My issue today is i have an toolbar eg "1Views" with an sub menu eg "1V-Sub" which itself contain few controls "SeeIt1", "SeeIt2".
My simple wish is to be able to toggle "1V-Sub".Visible between True/False when a certain state occur, thus stopping all its sub controls
I use Set cbCH = CommandBars("1Views").Controls("1V-Sub") where cbCH is defined as CommandBarControl
Since "1V-Sub" is not a control (I think), it thus throw an error. What should be right codes, Thanks.
My issue today is i have an toolbar eg "1Views" with an sub menu eg "1V-Sub" which itself contain few controls "SeeIt1", "SeeIt2".
My simple wish is to be able to toggle "1V-Sub".Visible between True/False when a certain state occur, thus stopping all its sub controls
I use Set cbCH = CommandBars("1Views").Controls("1V-Sub") where cbCH is defined as CommandBarControl
Since "1V-Sub" is not a control (I think), it thus throw an error. What should be right codes, Thanks.