cant use 2 Inputbox statement together?
Cant we use 2 Inputboxes together in Quick Test Pro??
InputDate =InputBox("Enter Date " )
days = InputBox("Enter Number of Days")
After that I am using a do while loop.
If I use only one InputBox statement the loop is
working fine, but with two InputBox statements it is going into a continous loop.
Is there any other method to do that??
I need two inputs & then I want to compare the result.
Re: cant use 2 Inputbox statement together?
Kejya try this and adapt as you need:
a = 0
b = 0
while a = 0
a =InputBox("Enter Date ","Enter Number Of Days" )
while b = 0
b = InputBox("Enter Date2 ","Again Enter Number Of Days")
res = StrComp(a,b)
If res = 0 Then
MsgBox "Not Equal"