Macro For To Color Yes / No Checklist?

Dec 20, 2013

What my intentions are is I have a question checklist on "Sheet 1". It is in a list format items A9-A23. Then linearly there is a "Yes" in column J and a "No" in column K. I want to allow the user an option to pick the choice of either "Yes" or "No" in column J or K for the question. My best theory was to have it when they click a cell within the range of J-9 through J-23 and K-9 through K-23 that the cell would highlight yellow. Example so if they would click "yes" for question 1 it would highlight yellow. My final goal in the end is to have all questions either highlighted "Yes" or "No" then have a command button macro to move this data to a seperate spreadsheet based upon the highlighted cells then reset the survey.

View 9 Replies


ADVERTISEMENT

Maintenance Schedule Checklist

Mar 2, 2009

I am trying setup a maintenance schedule checklist for a large list of items. Each item has a cycle in weeks for the checklist. I set up a nested if statement to check if the item is overdue or done based on the cycle and the current date. The if statement checks when the last time the item was done or overdue and populates an "X" for the next due date. It works fine as long as the cycle is 4 or less. After that there are too many if statements and I get an error. I'd rather not have to use a macro to get this to work. Any ideas?

View 14 Replies View Related

Time And Date Stamps For Checklist

Feb 21, 2014

I want time and date (as of the time of clicking) when i click a checkbox in one cell to appear, and stay unchanged, in another cell. When it is not checked, or if it is unchecked again, the date and time have to disappear. And if clicked again, a new date and time set (as of the time of the new click) has to appear.

I have tried this solution:

A2 Format control (of CheckBox) -> Cell link set to:
$B$2

C2 (wherein time+date needed) set to
=IF(B2=TRUE;NOW();"")

But the now function is literally "now" I have discovered, and keeps the date and time updated to actual time. I need it to keep the time from when the checkbox was clicked.

View 12 Replies View Related

Filtering Checklist Based On Different Criteria

Aug 3, 2014

There are 3 types of customers: A, B, and C. For different types of customers, there are different information needed to be filled in. For example, A customer need to fill in question 1,2,3 & 4 ; for B needs 1,2,3,4 &5; for C needs 1,2,3,4,5&6.

How can i:

1) create an advanced filter for selecting different types of customers
2) after selecting the customer type, the spreadsheet automatically generates the right questions?

View 1 Replies View Related

Generating Checklist Using Pivot Table?

May 22, 2013

Is it possible to create a checklist (Yes, No, Maybe) with a pivot table? I need to manage a huge document with multiple subcategories, so using filters to display certain subcategories would be ideal.

Every time I generate a pivot table from my table, there is always a sub total, which is not needed (There are no absolute raw data values). Is there a way to remove this?

View 2 Replies View Related

Create Checklist Which Flashes Whether Report Is Accurate?

Oct 2, 2013

I need to create a Report on a Daily Basis and there are certain things which I need to check to ascertain whether the report is accurate..

These checks are done on several sheets which confirm the report is accurate like the Total Count of Employees should be equal to the COunt of Zonal heads and the Cluster Managers in one of the Sheets..

So, without going in each sheet to do the same is it possible to achieve the same using a Macro..

Like some MsgBox which pops up when I click on a Command button "Check"..

Then If I get an Intel in a msgBox then I can go in that sheet to check or take some action or else just exit sub..

View 4 Replies View Related

Create Checklist That Copy / Paste Text To Other Sheet

Jul 16, 2013

I have a workbook that writes what I need to do. When done I need to type in another sheet the exact same text and the date I did it.

I wonder if its possible to add a checkbox and when this checkbox is pressed it will automatically copy/paste the text to the next free cell of the other sheet, so I only need to type date.

Here is the workbook: [URL] .....

Check box would be added in cell A17, A18, etc.

And the text would be copied to sheet Preventive Maintenance Records in the next available cell in column A.

View 2 Replies View Related

Macro: Changing Color Of Coloumn Header Based On Rows Color

Jan 15, 2009

I wrote a macro to color the cell values in the rows based on their average value. For eg if the cell value is less than 0.2 Avg, they should be red color,if value is between 0.2 and 0.5 it should be yellow. This part is working fine

Now based on the color of the rows cells , need to write a macro for the header one. Logic is Coloum header should be in red colour, if in one or more number of rows cells are red. same with yellow ones. Could you please help me out in solving this with logic.

View 8 Replies View Related

Macro To Color Cells Based On Their Font Color

Jun 18, 2008

I have a spreadsheet that i download from the net daily, which is seperated into columns of information.

I want to be able to look down a column and mark a cell in a seperate column if the cell font text is red.

For example looking down column A ... if the font text of a1 is red then mark the cell background colour of T1 red - if a2 text colour is red then mark the cell T2 red .... etc etc.

If the font colour in a1 or a2 ... etc etc is any other colour then do nothing.

I have 5 columns I wish to look down and mark in 5 seperate columns - I have tried to do this by conditional formating but don't know the fomula for checking font colour.

View 9 Replies View Related

Color Rows With A Macro

Oct 16, 2008

I need a macro to color rows as follows -

If the cell contains: Closed then highlight the row Light Red
If the cell contains: In Progress then highlight the row Light Green
If the cell contains: Pending then highlight the row Yellow
If the cell contains: Assigned then highlight the row Light Blue

View 14 Replies View Related

Macro To Change Tab Color

Feb 2, 2009

I keep recording this macro, but the problem I run into is that the active sheet is always the specific name of the sheet. I need a general name so that the macro will work on any given sheet. On the sheet I am viewing, I simply want to change the tab color to black using a macro.

View 2 Replies View Related

Macro - Color Coding

Jun 13, 2007

I am trying to figure out how to run a macro for 1 particular workbook in an excel spreadsheet. I don't want it run on any of the other workbooks in that file, just the 1. I can't use conditional formatting because I need more than 3 values (if statements).

This is what one example of data in a cell and below is the color I'd like it to turn when I run the macro:

T: 6/1/07
A: 6/8/07

Anything that has a A: (which means an actual date it happened) I'd like the cell to turn blue. If there is an RT: (which means revised target) I'd like the cell to turn red which means it missed it's target date, and has been revised. If it has a TBD I'd like the cell to turn pink (or yellow or any color really). All other cells are just white. I don't know where to find the color codes in excel as well. Other samples of what cells look like are below.

Here is another example:

T: TBD

And final example:

T: 6/4/07
RT: 6/15/07

View 9 Replies View Related

Sum Macro From Cell With Certain Color.

Sep 20, 2006

I need a sum macro that will count the number of x's in cells with a certain color.

View 4 Replies View Related

Macro That Removes The Color Of A Cell

Jul 30, 2008

Im having huge trubles with the interior color for the cells.
I have a macro that removes the color of a cell ("No fill").
For that purpose, I use the line:

View 8 Replies View Related

Macro To Color Alternating Rows

Apr 13, 2009

I was wondering, what would the macro be to colour alternating rows.

So I could select the range of rows, hit the macro - and it would colour them for me?

I need it to do alternating green / lightgreen. For one, but I need to do other colours afterwards as well. So what would the code be to do this?

View 10 Replies View Related

Inconvenience With Color Change In Macro

Apr 18, 2009

I use the following code to change several colors in my worksheet.

View 9 Replies View Related

Macro To Find Color Of A Cell

May 3, 2013

I have a worksheet called "Mgr Scorecard". Within this worksheet across the top in row 1 are the Manager names. In row 2 are all of the items for each manager that they are score them on. In column A is a list of our EE's. Based on how they score the cell gets filled in either red or green.

For my example below I am looking for a macro that I can tie back to a command button so that when the button is clicked the macro go out looks at a column "Item 1" for each Manager and for all those cells shaded "green" returns those rows. I know this can be done in conditional formatting but due to the large amount of data to sort a macro linked to a command button will be easier.

So on my example below the macro should return EE 2 & 4 since they are the only two shaded green. I wasn't able to get the shade colors on this after I posted so I just type in what color they would be, but on my actual sheet there is no words just colored cells.

Mgr Name

Item 1
Item 2
Item 3
Item 4
EE 1
Red

[Code]....

View 1 Replies View Related

Macro To Change Font Color

Jan 25, 2007

macro that will change the cell color based on text? I have a list of titles in column B. Everytime the word 'Car' is found in this column, I would like to change the font color in columns C-G to the color white within the same row.

View 9 Replies View Related

Color Code Mistakes From Macro

Apr 19, 2009

I am trying to color code mistakes I find when running formulas in a macro. Right now I have it set up to color code mistakes red using the following code after the formula has been inserted in column E.

Range("E2:E75").Select
Selection.FormatConditions.Add Type:=xlCellValue, Operator:=xlEqual, _
Formula1:="=""Check"""
Selection.FormatConditions(1).Interior.ColorIndex = 3

My issue is, some of my checks have more than one variable as a wrong answer. For example, one check may include Check and Bad as possible outcomes of the formula in the cell.

the code required to allow two different variables to cause the cells to change color.

I tried a second set of the code for the same column and changed the formulas word to Bad but it did not highlight the cells that came out with Bad as the outcome of the formula.

View 9 Replies View Related

Allow User To Color Selection From VBA Macro

Sep 10, 2009

I see where I can use the following to bring up the color pallet

VB: AutoLinked keywords will cause extra spaces before keywords. Extra spacing is NOT transferred
when copy/pasting, but IS if the keyword uses "quotes".

Sub MyColors()
' brings up the colors dialog
Application.Dialogs.Item(xlDialogColorPalette).Show
End Sub

But I don't know where to go from here. I would simply like to have cells selected, run the macro, select a color from the dialog, press the ok button, and have the selected cells colored per the color selected in the dialog. (Of course, pressing cancel would exit without changing any colors.)

View 9 Replies View Related

Color Macro Command Buttons

Oct 29, 2006

I have a workbook which employs 4 different userforms. Navigating thru the workbook, the user ends up at a sheet with 5 macro buttons, allowing them to choose from several different functions. I added these to the worksheet using the "forms" toolbar.

My question is this: Is there anyway to change the color of these buttons, as I can with the userform buttons? Under "format control" I can change size, font, even color of font, but I can't change the background color of the button itself. Is it possible to identify those particular buttons thru VBA and adjust it's format?

View 7 Replies View Related

Background Color And Border Around Macro

Aug 6, 2008

I am trying to develop an Excel spread- sheet by using some macros. In detail, in my first worksheet, I have something like -

Exp1 ....
Exp2 ....
Exp3 ....
:
:
:
Expn ....

This rows are coming from another worksheet and I have used a macro (developed by me) to populate these rows. Even the number of rows to be populated is not fixed.
However, I would like to add one row with text - " Total Expense" after those rows. This row will have some background color - say Tan - and font color - say Green - and also a border around its own - in nature, the border will be thick, Double and with color Rose. I have tried the following code in macro but not working properly -

Sub Include_Fields_n_Format(loc As String)
tot_exp_scell = loc & f_scell
tot_exp_ecell = loc & (f_scell + 1)
Range(tot_exp_scell, tot_exp_ecell). Merge
Range(tot_exp_scell, tot_exp_ecell).WrapText = True

Range(tot_exp_scell, tot_exp_ecell).Interior.Color = RGB(150, 150, 150)
With Range(tot_exp_scell, tot_exp_ecell).Font...................

View 4 Replies View Related

Macro To Change Color Of Cells Based On Sum

Jul 26, 2014

When the sum of B7-D7 is less than cell (I7) I would like to change the shade of B7-D7 to orange to indicate that larger values need to be entered to equal the value of cell I7. And when the sum of these three cells does equal I7 their color should change to green. I recorded two macros to change the colors and I've run them to verify they work. But I've got something off in my simple macro below.

[Code] .....

View 4 Replies View Related

Macro For Changing Background Color Of The Cells

Oct 21, 2008

I have an excel sheet in which many cells have a background color of Green. These cells are located all over the sheet. I want to change the background color from Green to Red not affecting the color of other cells in the sheet.


I will be realy really thankful, as I have to do this exercise for more than 50 worksheets.......If I start doing it manually by selecting each celll with green color background and changing it to red.....you can well imagine my condition.....my life would get shorten significantly while doing this.

View 6 Replies View Related

Run Macro On Few Sheets (put A Yellow Color On Cell)

May 29, 2009

I would like to run a macro on few sheets. For that, I think the best way would be FOR...NEXT. On the attach file, I would like to put a yellow color on cell A1 for the sheets listed on SUMMARY, Cell B5 to B8.

View 2 Replies View Related

Macro That Calculates Sum Based On Cell Color?

Mar 28, 2012

The Excel file is in this link

[URL]

If you look at the chart on the left, it breaks down how this whole thing works. It takes the sum of the numbers that fall within each line. I wrote it out on column M so that it's more clear. In column D-L, I filled in random numbers ranging from 4000-700. The numbers in those gray boxes are ignored. This Macro should only apply to Column M and beyond. Is it possible to write a macro that will be able to do this?

View 1 Replies View Related

Change Color Of Offset Cell With Macro?

Jul 9, 2014

I am trying to color a cell with a macro. I am using

ActiveCell.Offset(a,b).Value= a number then a want to change the color of the cell to yellow. When I tried to code this, my Active cell's color is changed, but not the offset cell.

How do I change the color in an "offset cell".

View 5 Replies View Related

Macro To Format Half Of The Cell With A Different Color

Nov 28, 2008

I have a list of records that will eventually be used to create a pivot table. Sometimes an account number will be listed twice but instead of adding to the previous info, it needs to start a new record. I decided in these instances to mark the account number with a character (+). Even though the + will designate a separate record, I'd like it to be invisible.

Is there a way to automatically turn the font color white for only the +? Since I've automated the rest of the process using a macro, a VBA solution is fine.

View 9 Replies View Related

Macro With Same Color Fonts As Cell Fill

Apr 2, 2009

I need a macro to fill any cell in any column with red color. The same cell should also have red fonts with word 'RED' typed in the cell, so that word 'RED' is invisible.

View 9 Replies View Related

Macro To Color Cells Based On Criteria

Jul 27, 2009

Column DColumn EColumn FTarget %DifferenceCash4%5.12%Large-Cap8.5%1.73%Commodities4%-1%

I need to color code Col F based on the following criteria:

If F2/E2>20%, then shade pink else no color. I only care about the absolute values. The 20% number can change depending on the category. So for commodities, the limitation is 30%. Like that I have a list of about 20 asset classes, 14 of which have the 20% constraint, rest are either 25% or 30%. I would like the cell color to be updated each time I import a file. Also I have other conditional formatting on Col F (like red color if negative number) so I don't know if another conditional format will work on the same cells?

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved