error goto file exist

  1. J

    Answered on error goto?

    hello, i don't really understand my mistake. i want to make an "Run" button on my project, this is my code for so far: Dim a a = InputBox("What do you want to run?", "Run...", "regedit") Shell(a, 1) On Error GoTo runerror runerror: MsgBox("Error! File...