Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

hello i'm a newbie and i have a problem with inputbox

Status
Not open for further replies.

bovaro

Technical User
Dec 17, 2012
1
0
0
IT
Hello i have this macro
Sess0.Screen.Sendkeys("ghec<Enter>")
Sess0.Screen.WaitHostQuiet(g_HostSettleTime)
Sess0.Screen.Sendkeys("<Down><Down><Down>x<Tab><Down><Down><Down><Down><Down><Down><Down><Down><Tab>")
Sess0.Screen.UserResponse=InputBox("<number>")
Sess0.Screen.WaitHostQuiet(g_HostSettleTime)

System.TimeoutValue = OldSystemTimeout
End Sub


so the dialog box appear i write a number but the macro after the input responde
NO SUCH PROPETY OR METHOD what i need to put after ("<number>")???
tks to all
 
see if this snippet from the help file helps you
Code:
Sub main
   Dim filename
   Dim msgtext
   msgtext="Enter a filename:"
   filename=InputBox$(msgtext)
   MsgBox "The file name you entered is: " & filename
End Sub
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top