I have a long macro that sets many control properties, based on many conditions. Examples of conditions are:
[Reports]![rptCVD]![Flag] = 0
[Reports]![rptCVD]![Flag] = 1
[Reports]![rptCVD]![Flag] = 2
[Reports]![rptCVD]![Flag] = 3
Examples of actions are to SetValue for the following:
Item Expression
[Reports]![rptCVD]![Label1].[Visible] True
[Reports]![rptCVD]![Label2].[Visible] True
[Reports]![rptCVD]![Label1].[Visible] False
[Reports]![rptCVD]![Label2].[Visible] False [Reports]![rptCVD]![Label1].[FontSize] 10
[Reports]![rptCVD]![Label2].[FontSize] 10 [Reports]![rptCVD]![Label1].[Color] Red
[Reports]![rptCVD]![Label2].[Color] Blue
These are all just examples, but I'm sure you get the idea.
Suppose I want to change all occurrences of [rptCVD] to [rptSortregion] or all occurrences of [Label1] to [IDlabel]. Is there an easy way to make these global text changes from the Macro window? Maybe from outside the Macro window???
[Reports]![rptCVD]![Flag] = 0
[Reports]![rptCVD]![Flag] = 1
[Reports]![rptCVD]![Flag] = 2
[Reports]![rptCVD]![Flag] = 3
Examples of actions are to SetValue for the following:
Item Expression
[Reports]![rptCVD]![Label1].[Visible] True
[Reports]![rptCVD]![Label2].[Visible] True
[Reports]![rptCVD]![Label1].[Visible] False
[Reports]![rptCVD]![Label2].[Visible] False [Reports]![rptCVD]![Label1].[FontSize] 10
[Reports]![rptCVD]![Label2].[FontSize] 10 [Reports]![rptCVD]![Label1].[Color] Red
[Reports]![rptCVD]![Label2].[Color] Blue
These are all just examples, but I'm sure you get the idea.
Suppose I want to change all occurrences of [rptCVD] to [rptSortregion] or all occurrences of [Label1] to [IDlabel]. Is there an easy way to make these global text changes from the Macro window? Maybe from outside the Macro window???