Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Can VBA accept input from a message box?


Can Excel VBA take input from a message box? I want to prompt for inpu
and then assign that input to a variable as the macro is running.

Thanks

--
dougmcc
-----------------------------------------------------------------------
dougmcc1's Profile: http://www.excelforum.com/member.php...tinfo&userid=8
View this thread: http://www.excelforum.com/showthread.php?threadid=26743

  #2   Report Post  
Posted to microsoft.public.excel.programming
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


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do you move the input message? dunnL1 Excel Discussion (Misc queries) 4 March 6th 08 07:34 PM
How to accept input and then populate/concatenate this with other Pank New Users to Excel 4 February 27th 07 03:38 PM
Message or input thesaxonuk Excel Discussion (Misc queries) 4 October 25th 06 09:38 AM
Can a cell be set to accept input only once? Simple Gifts Excel Worksheet Functions 1 April 4th 06 05:08 AM
input message tamersaid Excel Programming 1 June 6th 04 02:06 PM


All times are GMT +1. The time now is 03:26 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"