Home |
Search |
Today's Posts |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Alisha,
Sub test() Dim l As Long l = MsgBox(Prompt:="Please click yes or no", _ Buttons:=vbQuestion Or vbYesNo Or vbDefaultButton1, _ Title:="Question") If l = vbYes Then MsgBox "You clicked yes" Else MsgBox "You clicked no" End If End Sub -- Regards, Jake Marx MS MVP - Excel www.longhead.com [please keep replies in the newsgroup - email address unmonitored] Alisha wrote: sori im not very good with computers, can u pls tell me exactly wat needs to by typed.i kno where 2 type it. i want a message box saying yes or no |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Data validation boxes, outputting a final number from the boxes | Excel Discussion (Misc queries) | |||
Moving. Want to number boxes and inventory contents of boxes | Charts and Charting in Excel | |||
Selecting subsets using combo boxes or list boxes | Excel Discussion (Misc queries) | |||
Questions on combo boxes and list boxes. | New Users to Excel | |||
How do i create a value for check boxes or option boxes | Excel Discussion (Misc queries) |