View Single Post
  #1  
Old 09-27-2012, 05:30 PM
garyb@se.rr.com garyb@se.rr.com is online now
Registered User
 
Join Date: 02-19-2004
Location: Saint Augustine, FL
Posts: 21
Question Return value of InputBox

I am curious... if you present an inputbox in a vbscript to the user, how do you determine if the Cancel button of the inputbox was clicked?

I would like to abort the build process if the Cancel button is clicked on the inputbox.

Perhaps there is a better method?

dim sTemp
dim objMacro

sTemp = InputBox("Do you want to transmit ActiveX32 to the FTP site?","Transmit File","NO")
Set objMacro = vbld_TempMacros.Add("FTPActivex", sTemp)


Any help is appreciated.
Reply With Quote