Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Msg Box input string
Can anyone advise me the macro code to create a msg box having a space for the user to input a text string which can then be used for subsequent processing? Thanks, Exdevon -- Exdevon ------------------------------------------------------------------------ Exdevon's Profile: http://www.excelforum.com/member.php...o&userid=32108 View this thread: http://www.excelforum.com/showthread...hreadid=518654 |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Msg Box input string
It's not the Msgbox() statement you need, it's
Input() that you need, like so.. In VBA code ans = Input("Enter your Name") << see help for more "Exdevon" wrote in message ... Can anyone advise me the macro code to create a msg box having a space for the user to input a text string which can then be used for subsequent processing? Thanks, Exdevon -- Exdevon ------------------------------------------------------------------------ Exdevon's Profile: http://www.excelforum.com/member.php...o&userid=32108 View this thread: http://www.excelforum.com/showthread...hreadid=518654 |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Msg Box input string
Hi Exdevon,
Use either VB's InputBox function or Excel's Application.Inputbox function. Application.InputBox is convenient because you can specify the input with the Type argument, Type:=2 causes input that is not text string to be rejected. Ken Johnson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How to avoid duplicate string value input in one column? | Excel Worksheet Functions | |||
Msg Box input string | Excel Programming | |||
Want to input one character to cause related string to display in. | Excel Worksheet Functions | |||
autofilter using string input | Excel Programming | |||
String length of Inputbox user input. | Excel Programming |