InputBox Examples


Example 1

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

Example 2

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

Example 3

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

Example 4

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

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