InputBox Examples


Example 1

Dim sReturn As String 
sReturn = InputBox("InputBox Text", _
                   "InputBox Title")

Example 2

Dim sReturn As String 
sReturn = InputBox("Please enter your name: ")

Example 3

Dim sReturn As String 
sReturn = InputBox("Please enter the website URL", _
                   "Website URL", _
                   "https://bettersolutions.com")

Example 4

Dim sReturn As String 
sReturn = InputBox("Press the Help button for more help", , , , , _
                   "C:\temp\Help.chm", 1)

© 2019 Better Solutions Limited. All Rights Reserved. © 2019 Better Solutions Limited TopPrevNext