Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 03-08-2015, 06:39 AM
a888 a888 is offline Setting a particular table cell background color when an option button is selected in Word 2007 Windows 8 Setting a particular table cell background color when an option button is selected in Word 2007 Office 2007
Novice
Setting a particular table cell background color when an option button is selected in Word 2007
 
Join Date: Feb 2015
Posts: 12
a888 is on a distinguished road
Default Setting a particular table cell background color when an option button is selected in Word 2007

Hi everyone,



I have a table (7 columns and 90 rows) with 90 questions each question in a row.

In each row: the question comes in col 1, and in col 2 comes a radio button for Yes, and in col 3 a radio button for No. Then in only some of the last 4 cells on the right there is a "Y" letter. Those cells are either empty or have the letter Y in them.

I named the option buttons as e.g. for first row/ question: OptionButton1y for the Yes button and OptionButton1n for the No. I also grouped each two option buttons in each row in a separate group called Q1, Q2....etc. (Note: creating those buttons made the doc take ages to load when first opened ! )

What I need to have is :

When a NO option button is selected in any row (question), a macro looks if any of the last 4 cells in that row has a Y in it and if so to change the cell color shading to red.

I need this to occur with each NO selection on each of the rows.

I hope someone can kindly help me with this.

Thanks so much in advance
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting a particular table cell background color when an option button is selected in Word 2007 How to remove background color in a table that isn't there but is there? pintree3 Word 5 10-27-2014 10:23 AM
Can't change table background color in the header in Microsoft Word 2011 simeon1 Word 0 10-13-2014 11:07 AM
Option Button selected will display text ksigcajun Word VBA 7 07-14-2014 09:31 AM
Setting a particular table cell background color when an option button is selected in Word 2007 Cell Background Color: Base it on Content of Cell? tatihulot Excel 4 08-14-2013 03:24 PM
Change cell color everytime a value is selected in dropdown list angelica_gloria Excel 4 01-27-2012 06:47 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 09:37 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft