Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Msgbox w/ multi-lines
Thanks for all your help. Question: Using msgbox, is anyway you can add in the "IF" statements could you give me a little example? Thanks in advance. Joh -- jt4 ----------------------------------------------------------------------- jt46's Profile: http://www.excelforum.com/member.php...fo&userid=1515 View this thread: http://www.excelforum.com/showthread.php?threadid=26786 |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Msgbox w/ multi-lines
I am assuming you want to use one of two (or more) strings in the message box
depening on the outcome of an IF test. dim strMessage as string IF <test strMessage = "Hello World" Else strMessage = "Goodbye World" End IF msgbox strMessage Is this what you're looking for? "jt46" wrote: Thanks for all your help. Question: Using msgbox, is anyway you can add in the "IF" statements & could you give me a little example? Thanks in advance. John -- jt46 ------------------------------------------------------------------------ jt46's Profile: http://www.excelforum.com/member.php...o&userid=15154 View this thread: http://www.excelforum.com/showthread...hreadid=267861 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
MsgBox text on several lines | Excel Discussion (Misc queries) | |||
Msgbox w/ multi-lines | Excel Programming | |||
MsgBox With Multiple Lines? | Excel Programming | |||
Using different lines in an input- or msgbox | Excel Programming | |||
Multiple lines in MsgBox | Excel Programming |