This is one for the record. I'm now the One Eyed Visio man at work. Visio suddenly decided to spit out some strange error after I started playing with VBA. This is what I got:
Cannot exit design mode because control 'CommandButton1' can not be created.I fixed this by actually creating an instance of
CommandButton
..
Dim CommandButton1 as CommandButton