(Solved) – Variable not defined VBS Excel Macro

  • by

I have a excel macro that it has problems and I need to check. There is a part with this code:

    RestoreDate.value = DateAdd("m", 1, Date)
    Call HideAllControls
    Src_Label.Visible = False

But when we execute the code it says variable not defined in the “RestoreDate” what could be the problem?

Leave a Reply

Your email address will not be published. Required fields are marked *