I am novice to this, I am curious if there is a better way to acquire information in Excel/VB?
The first procedure is not a problem. Do I have to pass on the parameter to the next proceure in some way or the main procedure or will it understand on its own?
The first procedure is not a problem. Do I have to pass on the parameter to the next proceure in some way or the main procedure or will it understand on its own?
Code:
Sub InputBox1()
x = InputBox("How many do you want to process?")
End Sub
Sub Getanswer()
Config = vbYesNo + vbQuestion + vbDefaultButton2
Ans = MsgBox(”Do you want to continue?”, Config)
If Ans = vbYes Then RunNextSub
If Ans = vbNo Then Exit Sub
End Sub
Last edited by a moderator: