View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Frank Kabel Frank Kabel is offline
external usenet poster
 
Posts: 3,885
Default Can VBA accept input from a message box?

Hi

....
dim res
res=inputbox ("Enter something")
msgbox res

--
Regards
Frank Kabel
Frankfurt, Germany

"dougmcc1" schrieb im
Newsbeitrag ...

Can Excel VBA take input from a message box? I want to prompt for

input
and then assign that input to a variable as the macro is running.

Thanks.


--
dougmcc1
---------------------------------------------------------------------

---
dougmcc1's Profile:

http://www.excelforum.com/member.php...info&userid=85
View this thread:

http://www.excelforum.com/showthread...hreadid=267437