Forum Discussion

Petewilson's avatar
Petewilson
Contributor
14 hours ago

Create a UserFrom via a script

Is it possible to create a Userform from a script. I already have a UserForm built for Testers so they can select different options for the test run.

  • Users select the application they want to run as we have variants, from a dropdown
  • Users select the location of their exe file, from a dropdown that is editable
  • There are a range of checkboxes below for each of the tests to toggle on or off
  • An OK and Cancel button

I wondered if there was a way to have a script that creates the UserForm when run, rather than manually creating?

 

 

  • Since as you can not create UserForm during run as rraghvani mentioned, probably the following would address your need.

    For testers to select different options for the test run, you can substitute UserForm with an Excel sheet (except for the Ok and Cancel).