Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default "Radio" Button help

I have the following file, which is attatched.

There are 2 boxes with radio buttons in it.
I would like to know what code to assign to my "Get Model" buttons s
that after I chose a selection from each of the 2 boxes and then clic
the button it goes to a certain view. I want to know if there's an
other way of doing this other than by "IF statements".

As you can see there are 4 tables under the 2 boxes.

If R3001 is selected in the first box and CW in the second I want it t
show just the first table(The one with "Incentive..."). If R3001 and N
are selected I want just the 2nd table to show. If R3001 and CA ar
selected I want the last 2 tables to show.

If R3000 and CW are selected I want the first and last table to show
If R3000 and NY are selected I want the middle 2 boxes to show. I
R3000 and CA are chosen I want all but the 1st to show.

I just need to get the feel of how the code works then I can do th
rest of the combinations because that's all it is just showin
different tables depending on what radio buttons are selected.

I just don't want to use if statements. I just want to use an easie
way.

Thanks, I appreciate your help

Attachment filename: interface.xls
Download attachment: http://www.excelforum.com/attachment.php?postid=61152
--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default "Radio" Button help

You want to evaluate multiple criteria and perform conditional actions
without checking the criteria to see what condition is matched?

Try explaining what you want to do without using IF. (or substituting a
word for IF). If that appears feasible, then perhaps you can can code it
that way.

--
Regards,
Tom Ogilvy


"grin2000 " wrote in message
...
I have the following file, which is attatched.

There are 2 boxes with radio buttons in it.
I would like to know what code to assign to my "Get Model" buttons so
that after I chose a selection from each of the 2 boxes and then click
the button it goes to a certain view. I want to know if there's any
other way of doing this other than by "IF statements".

As you can see there are 4 tables under the 2 boxes.

If R3001 is selected in the first box and CW in the second I want it to
show just the first table(The one with "Incentive..."). If R3001 and NY
are selected I want just the 2nd table to show. If R3001 and CA are
selected I want the last 2 tables to show.

If R3000 and CW are selected I want the first and last table to show.
If R3000 and NY are selected I want the middle 2 boxes to show. If
R3000 and CA are chosen I want all but the 1st to show.

I just need to get the feel of how the code works then I can do the
rest of the combinations because that's all it is just showing
different tables depending on what radio buttons are selected.

I just don't want to use if statements. I just want to use an easier
way.

Thanks, I appreciate your help.

Attachment filename: interface.xls
Download attachment:

http://www.excelforum.com/attachment.php?postid=611522
---
Message posted from http://www.ExcelForum.com/



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default "Radio" Button help

I want the code to work the same way as if using IF and END IF bu
without using IF and END IF

--
Message posted from http://www.ExcelForum.com

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default "Radio" Button help

Use a CASE statement then.

--
Regards,
Tom Ogilvy

"grin2000 " wrote in message
...
I want the code to work the same way as if using IF and END IF but
without using IF and END IF.


---
Message posted from http://www.ExcelForum.com/



Reply
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
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell Steve Kay Excel Discussion (Misc queries) 2 August 8th 08 01:54 AM
change "true" and "false" to "availble" and "out of stock" inthestands Excel Worksheet Functions 2 July 19th 07 07:05 PM
i need a "radio button" -like feature in excel jcarr25 Excel Worksheet Functions 1 May 1st 07 07:28 AM
HELP! Clicking "$" button changes format to ";;" not what it shoul Rock Robster Excel Discussion (Misc queries) 1 October 7th 06 04:04 AM
Count occurences of "1"/"0" (or"TRUE"/"FALSE") in a row w. conditions in the next BCB New Users to Excel 7 May 13th 06 10:02 PM


All times are GMT +1. The time now is 03:15 PM.

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

About Us

"It's about Microsoft Excel"