Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Have following and can not seem to get it to work. tried ifs etc same as
others noluck. Want to show cell amount then have a vbyesno for user to answer. If cel text length to long yes do this no exit. Heres what Ive tried theamount msgbox is the hang up Any one Thanks Worksheets("desc").Select Range("A2").Select cellLength = Len(ActiveCell) msgbox (cellLength) theamount = msgbox("cellLength", prompt:="Is the Number over 232", _ Buttons:=vbYesNo) |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
hi,
inclose the msgbox in an if statement. if msgbox(celllength & vbNewLine & "Is the Number over 232", _ vbYesNo) = vbYes Then do something Else Exit Sub end if regards FSt1 "Curt" wrote: Have following and can not seem to get it to work. tried ifs etc same as others noluck. Want to show cell amount then have a vbyesno for user to answer. If cel text length to long yes do this no exit. Heres what Ive tried theamount msgbox is the hang up Any one Thanks Worksheets("desc").Select Range("A2").Select cellLength = Len(ActiveCell) msgbox (cellLength) theamount = msgbox("cellLength", prompt:="Is the Number over 232", _ Buttons:=vbYesNo) |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks for pulling my brain dead head out. This is first time I've used cell
length never seen the & vbnewline befor Thanks much Mate "FSt1" wrote: hi, inclose the msgbox in an if statement. if msgbox(celllength & vbNewLine & "Is the Number over 232", _ vbYesNo) = vbYes Then do something Else Exit Sub end if regards FSt1 "Curt" wrote: Have following and can not seem to get it to work. tried ifs etc same as others noluck. Want to show cell amount then have a vbyesno for user to answer. If cel text length to long yes do this no exit. Heres what Ive tried theamount msgbox is the hang up Any one Thanks Worksheets("desc").Select Range("A2").Select cellLength = Len(ActiveCell) msgbox (cellLength) theamount = msgbox("cellLength", prompt:="Is the Number over 232", _ Buttons:=vbYesNo) |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
download mztools. one of the options is the msgbox assistant. it should help you
out. http://www.mztools.com/v3/mztools3.htm -- Gary "Curt" wrote in message ... Have following and can not seem to get it to work. tried ifs etc same as others noluck. Want to show cell amount then have a vbyesno for user to answer. If cel text length to long yes do this no exit. Heres what Ive tried theamount msgbox is the hang up Any one Thanks Worksheets("desc").Select Range("A2").Select cellLength = Len(ActiveCell) msgbox (cellLength) theamount = msgbox("cellLength", prompt:="Is the Number over 232", _ Buttons:=vbYesNo) |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thank You did download will see what I can do
Thanks Again "Gary Keramidas" wrote: download mztools. one of the options is the msgbox assistant. it should help you out. http://www.mztools.com/v3/mztools3.htm -- Gary "Curt" wrote in message ... Have following and can not seem to get it to work. tried ifs etc same as others noluck. Want to show cell amount then have a vbyesno for user to answer. If cel text length to long yes do this no exit. Heres what Ive tried theamount msgbox is the hang up Any one Thanks Worksheets("desc").Select Range("A2").Select cellLength = Len(ActiveCell) msgbox (cellLength) theamount = msgbox("cellLength", prompt:="Is the Number over 232", _ Buttons:=vbYesNo) |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
vbYesNo message box | Excel Programming | |||
VbYesNo MsgBox won't respond to "No" | Excel Programming | |||
VBYesNo MsgBox - Computer always says "Yes" | Excel Discussion (Misc queries) | |||
VbYesNo Msg Box | Excel Discussion (Misc queries) | |||
vbYesNo | Excel Programming |