Auto Enums Auto Enums

Auto Enums gives you the ability to turn a variable of enum type into a full Select Case statement coded with the members of the enum.

The Auto Enums dialog

The Auto Enums dialog

First declare the variable and enter its name where the Select Case statement is to be placed. For a module level variable a lowercase 'm' is required. Locate the cursor on the variable and select the add-in. A form is displayed with the members of the enum. In Auto Enums Options you can select whether the members are all checked by default else none are. Select which members you want and click 'Create', this will replace the variable with the required Select Case statement.