To Highlight Elements in a Fence Using a VBA Macro
- Open the VBA Projects dialog ( ).
- Click the Load Project icon and from the Load Project dialog, select Hilitea.mvb.
-
In the VBA Project Manager dialog, click the Macros icon.
-
In the Macros dialog that opens, select the key-in HiliteElInFence and click Run.
All the elements in the fence are highlighted.
Tip: You can use a VBA macro to highlight each element contained in a fence that meets the filter criteria. Then you can use the Change Element Attributes tool , with Use Fence on, to change the level, color, line style, or line weight of the highlighted elements. These changes can be reflected in a plot to dramatize an analysis.