Hi
Anyone know how to correlate control-type numbers to the ac-Type-Names please ?
e.g.
the ControlType of a textbox is 109...
the "actypename" is acTextbox
but what is a ControlType of 123?
I know TypeOf can help in a case statement where one already knows all the actypes but I need to do a:-
msgbox Screen.PreviousControl.ControlType to return "acTextBox","acCombobox" rather than 109,123 etc...
I must have found this at some stage but I can't remember how I did it.
Thanks
Anyone know how to correlate control-type numbers to the ac-Type-Names please ?
e.g.
the ControlType of a textbox is 109...
the "actypename" is acTextbox
but what is a ControlType of 123?
I know TypeOf can help in a case statement where one already knows all the actypes but I need to do a:-
msgbox Screen.PreviousControl.ControlType to return "acTextBox","acCombobox" rather than 109,123 etc...
I must have found this at some stage but I can't remember how I did it.
Thanks