Example:

  1. Sub Main ()

    1. myTitle$ = "Greetings"

      Prompt$ = "What is your name?"

      Default$ = ""

      X% = 200

      Y% = 200

      N$ = InputBox$(Prompt$, myTitle$, Default$, X%, Y%)

      MsgBox "Hello " & N$ & "!"

    End Sub