| Message |
I want to change the label expression of a feature class so as to display a different value on the map when a macro is run. e.g. Currently, I show temperature values from [temp] field using the expression [maxtemp] & "/" & [mintemp]. And now I want to invoke a macro so that values for rain is shown from [rain] field. I want to automate things...
I know I can have different layers for different values that I need to access, and then just add/remove layers. But I dont want to do that.
I would appreciate if somebody could write me few lines of code to indicate ways to set the label expression property using VBA.
Thanks, in advance.
Chirag.
|