Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
public sub test()
dim c as integer,s1 as string, s2 as string s1="My Message" s2 = "My Title" c=msgbox(s1,vbyesno,s2) if c=vbyes then msgbox "hi" else msgbox "bye" end if end sub this is always displaying "bye" why? c (just after assignment) contains 6 at the test, c is empty what am i missing? it works using if msgbox(s1,vbyesno,s2)=vbyes then .... jooc thanks J |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Why does hyperlink fail? | Excel Discussion (Misc queries) | |||
Templates fail to open | Setting up and Configuration of Excel | |||
Templates Fail | Excel Discussion (Misc queries) | |||
hyperlinks fail after saving | Excel Discussion (Misc queries) | |||
pass fail | New Users to Excel |