LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 709
Default MsgBox, VBYes, VBNo

Help with creationg a MsgBox with VBYes and VBNo, then putting a 1 or 0 in
Sheet4, cell C4. Probably putting the code in Workbook Open?
Example:If date is =July1 and <July 5 then Msgbox "Do you qualify for Bank
Day? If VBYes is selected then a 1 is sent to Sheet4 cell C4, If VBNo then a
0 is sent to Sheet4 cell C4. I just can't write the code correctly.
Thanks in advance
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to restart a code upon vbno FARAZ QURESHI Excel Discussion (Misc queries) 2 March 2nd 09 07:51 AM
default = vbNo in Msgbox Alex St-Pierre Excel Programming 1 February 16th 06 11:24 PM
If vbYes Then help... RPIJG[_21_] Excel Programming 6 May 17th 04 05:33 PM
msgbox scottnshelly[_29_] Excel Programming 1 April 29th 04 07:47 AM
MsgBox Dave Peterson[_3_] Excel Programming 0 July 23rd 03 02:11 AM


All times are GMT +1. The time now is 07:26 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"