InputBox Examples


Example 1

Dim sReturn As String 
sReturn = InputBox("Please enter the name of the file : ")

Example 2

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

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)

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