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","www.bettersolutions.com")

 


Example 4

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

 

© 2017 Better Solutions Limited. All Rights Reserved. © 2017 Better Solutions Limited

PrevNext