Macro condition

  • Thread starter Thread starter Jan
  • Start date Start date
J

Jan

Hi,
Is it possible to set a condition where an autokey macro will run only if a
certain form is the active form. In other words, if a certain form is not
open and in use on the screen, the autokey macro will not create an error
message will just do nothing.
Thanks,
J
 
Jan,

Put this in the Condition of the macro action...
Screen.ActiveForm.Name="NameOfYourForm"
 
Back
Top