Jul 21, 2006 #1 bigdubbe Programmer Joined May 26, 2006 Messages 11 Location US I was wondering if there was anyway to put a user define variable from answer given perviously in a dialog box, in a popup box.
I was wondering if there was anyway to put a user define variable from answer given perviously in a dialog box, in a popup box.
Jul 21, 2006 #2 IknowMe Programmer Joined Aug 6, 2004 Messages 1,214 Location US Not sure I understand what your getting at, can you give us more info? try uservar = InputBox("give me a variable") msgbox uservar Wow, I'm having amnesia and deja vu at the same time. I think I've forgotten this before. Upvote 0 Downvote
Not sure I understand what your getting at, can you give us more info? try uservar = InputBox("give me a variable") msgbox uservar Wow, I'm having amnesia and deja vu at the same time. I think I've forgotten this before.
Jul 21, 2006 #3 Skie Programmer Joined Jun 21, 2004 Messages 475 Location US If you want to be able to change it: Code: oldVar = InputBox("Your variable","Title",oldVar) If you just want to display it: Code: msgbox "This is your variable: " & oldVar Upvote 0 Downvote
If you want to be able to change it: Code: oldVar = InputBox("Your variable","Title",oldVar) If you just want to display it: Code: msgbox "This is your variable: " & oldVar
Jul 22, 2006 Thread starter #4 bigdubbe Programmer Joined May 26, 2006 Messages 11 Location US I am crappy at explain what I want but you guys always come through. Worked great thank you. Upvote 0 Downvote