If you add a dialog to the macro then the user can easily interact with it.
Lets create a dialog that allows user entry of the number of data sets to be fitted.
First create the dialog visually. Open the Exponential Fit macro Edit window, place your cursor after the Sub Main statement as shown below and click on the User Dialog button. The UserDialog Editor window appears. Click on the AddText button and create a text label by dragging the mouse. Repeat this procedure to add a textbox next to the text label and OK and Cancel buttons.