Exclude identifiers




Instructions for use of lists–entries:

Ctrl + Enter insertion of a new line
Strg + A selection of all entries
Ctrl + Tab activates or deactivates a single list item

[On/Off] enables/disables all currently selected list entries

Deactivated entries are shown indented
and will be ignored in subsequent program flow.


In certain cases, identifiers must remain unchanged and may NOT be camouflaged.

Example 1: Access to UserForm–elements with use only of a part of their name

A UserForm contains five text fields "Label1, Label2,...,Label5"
that are filled successively:

For bytX = 1 To 5
    frmXXX.Controls("Label" & bytX).Caption = ...
Next bytX

In this example, camouflaging the name of the UserForm elements would
result in a runtime error when they
are called by their old names ("Label1", "Label2" etc.).

The identifiers "Label1...5" must be excluded from being camouflaged.

This situation can also occur if the names "Label1... 5"
are generated in a function:

For bytX = 1 To 5
    frmXXX.Controls(prcBuildLabelName(bytX)).Caption = ...
Next bytX


Example 2: External call of procedures

If a procedure is called by an external program,
the procedure must NOT be camouflaged
or else the external program will not be able to find it.

You can define here, based on parts of names, which identifiers
should be excluded from camouflaging.

Attention!

– Do NOT use this option to exclude SINGLE identifiers from the camouflage!
   Activate for this purpose "Individually select dentifiers" in the previous dialog.

– If you simultaneously in the previous dialog with the option "Force"
   enforce the camouflaging of single identifiers, then they ALWAYS be camouflaged,
   regardless of whether a in the exclusion–list specified name–pattern applies or not.


The following rules apply:

– ALL identifiers will be excluded that contain the specified text

– the entries are not case sensitive

– wildcards (such as "*" or "?") are ineffective

Example: Text: "label"

which leads to the exclusion of: "label"
"Label"
"Label2"
"strLabel"
and so on

Hint: This exclusion–method only concerns identifiers
which are DECLARED within the VBA project.
Names of objects, methods or properties
of integrated libraries will never be camouflaged.



as Standard

Selecting "OK" will save the current settings as your default for future projects.
Then they can be also reactivated with "Preset" –> "user–defined".

Preset

Optimisation of the settings or reset to defaults.
(inter alia to those values which were saved "as Standard").