Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
http://support.microsoft.com/newsgro...-us&sloc=en-us
I posted this (link to old post above) a couple months ago but I never posted back that it still didn't work. I'll try to recap what I need. When a user clicks a command button several lines of code will execute. One of the items I want to happen is if a particular cell contains data and one of three related option buttons isn't selected, then a message box should appear saying that one of the three option buttons isn't selected. I know this is possible but my meager knowledge of VBA is limiting me at this point. Thanks! |
#2
![]() |
|||
|
|||
![]()
How about referencing the cell that the option buttons are linked to.
Or have a seperate cell somewhere with a formula that looks at cell A1 and the cells linked to the option buttons - the formula could return 1 or 0 depending on whether you want to show the msgbox or not. From the VBA look at this cell value with the If statement to action the messagebox. If you can't get it, reply back with more info about the option buttons (which type are they - form or control toolbar? - links? etc) Baz "tjb" wrote: http://support.microsoft.com/newsgro...-us&sloc=en-us I posted this (link to old post above) a couple months ago but I never posted back that it still didn't work. I'll try to recap what I need. When a user clicks a command button several lines of code will execute. One of the items I want to happen is if a particular cell contains data and one of three related option buttons isn't selected, then a message box should appear saying that one of the three option buttons isn't selected. I know this is possible but my meager knowledge of VBA is limiting me at this point. Thanks! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to edit the size and make it bold of the Option Button text? | Excel Discussion (Misc queries) | |||
Option Button on Forms Toolbar | Excel Discussion (Misc queries) | |||
How to protect Option button in worksheet | Excel Worksheet Functions | |||
conditional error for option button | Excel Worksheet Functions | |||
The Auto Filter button lost the column specified option. | Excel Worksheet Functions |