interior

  1. O

    interior color of selected cells

    When I select any number of adjacent cells (could be in a row or a column), anywhere on my spreadsheet, I would like to then press a form control button that will fill the interior color with color the 16738047. I have tinkered with several codes I've found online, but so far they only color...
  2. B

    VBA code assistance - adding interior cell background color to weekly report

    The following image shows a report I produce on a weekly basis that I would appreciate assistance in creating VBA code to automate adding in the various cell interior background colors. It’s important to note that I would like the finished code to treat the cell range as dynamic since the...
  3. S

    Copy / paste actual interior color

    Hi, I need to copy the conditionally formatted cells and paste format to a new range. Currently I do: Workbooks(EnvelopeFile).Worksheets("System Envelopes").Cells.Copy Sheets(xlSheet.name).Cells.PasteSpecial Paste:=xlPasteValues Sheets(xlSheet.name).Cells.PasteSpecial...
  4. K

    Conditional formatting as per group pattern

    Conditional formatting as per group pattern </SPAN></SPAN> Using Excel 2000</SPAN></SPAN> Hi,</SPAN></SPAN> I need conditional formatting as per groups PATTERNS</SPAN></SPAN> Group-1 pattern "1|1" interior colour RED & font colour white</SPAN></SPAN> Group-2 pattern "1|X", "1|2", "X|1", "2|1"...
  5. K

    Copy cells value and formating based on conditions

    Hi, How could I write the following excel line of code in VBA and add conditional formatting (interior and font). =IF(AND(OR(F19="1ere",F19="2me",F19="7me"),OR(M19=2,M19=6, M19=9,M19=11)),G19,"neant") I have a range of columns from (B3:AJ3) Thanks in advance for your precious help Bruno
  6. xlhelp15

    Help Required to color Interior if the Goal value is lesser than the Actual

    <tbody> Goal 07/02/18 07/03/18 07/04/18 07/05/18 50 20 56 65 130 50 22 25 35 85 106 130 120 85 99 120 115 160 55 96 150 16 175 199 12 </tbody> Hi - I need a macro which needs to fill the colorindex=22 whenever the ACTUAL is lesser than the GOAL. For...
  7. C

    Remove Interior Color in Column

    Hello, I'm trying to remove interior color for all cells in a column beginning with row 2 thru the last row containing data. I'm using code as below but for some reason, it is not removing the color. No error message. Can anyone see what I'm missing here? Range("A2:A" & Cells(Rows.Count...
  8. D

    How to clear the interior colour of a textbox

    Hi, I have this following code which is my 'CLEAR' button on a search userform. Private Sub CommandButton3_Click() Dim z As Control For Each z In Search.Controls If TypeName(z) = "TextBox" Then z.Value = "" End If Next z TextBox1.SetFocus End Sub I would like to adapt it so when I...
  9. S

    multiple Formula in Conditional Formatting

    Hi All, i have a scenario where i have a scenario that i have to apply two conditions for a cell: Let say i want to do it for Column A1 1. A1<10 if yes cell interior color should change to Red 2.A1>=10 if yes cell interior color should change to Green can i do this in just one condition...
  10. J

    Fill Colour

    Hello I am looking to create a button on my worksheet, then when it is clicked i want it to prompt to ask what cell to colour then to show the colour palette to choose the interior colour This is all i have so far Sub MyColors() ' brings up the colors dialog...
  11. 1

    Maco Help - Copy linear monthly data in one row to multiple monthly rows

    Hello all, Hoping someone can help or tell me this isn't possible. I'm working on implementing a new forecast process at work and each budget owner will be submitting their forecast in a standardize template. In order for the budget owners to adopt this new process, it needs to be as easy as...
  12. Y

    VBA: Using Selection.Interior.ColorIndex on multiple columns but only once a line

    Hi everyone, I would like to be able to: - use Selection.Interior.ColorIndex on several columns but only once every line. - if 1 cell (B5) on the line (5) has already been "colored" (selected) and I select an other cell (D5) one the same line then the the first cell (B5) go back to no color...
  13. B

    apply the cell value as the fill colour

    I have the following question: Is there a way in VBA for a bigger table (400x400 cells) to apply the value of each cell as the interior colour "at once"? "At once" means, that I do not need loops to fill the cells which will take a few seconds. I've tried out something like...
  14. Gos-C

    Highlight Row if Cell Value Found in List in Other Workbook

    Hi all, I am creating a macro to open a .dat file, delete unwanted rows and highlight all rows where the specified cell value is found in a list which is located in a worksheet in the workbook containing the macro. I cannot get the VLOOKUP to work. It gives the error, "Run-time error '1004'...
  15. A

    .Interior.ColorIndex

    Hello, I am using Excel2000 on a windowsXP machine. I have the following function. Public Function testing(dataRange As Range) Dim cell As Range For Each cell In dataRange cell.Interior.ColorIndex = 8 Next cell End Function The function works fine when it is used with the 'call'...
  16. E

    How to change styles interior based on other cells

    Hi all, I would like to know how I can change a certain style based on colors from two cells? I would like to change the .TintAndShade colors to whatever color I put into cell A1 and A2. I got this from recording... With ActiveWorkbook.Styles("Neutral") .IncludeNumber = True...
  17. W

    Having trouble with IF statement.

    Hi All, I keep getting an error with the following If statement Dim lastline As Long lastline = Cells(Rows.Count, 2).End(xlUp).Row For i = 2 To lastline If Cells(i, 1).Value = "R" Then _ Cells(i, 1).Select Selection.Interior.Color = 192 ElseIf...
  18. L

    Help Custom Color ScatterPlot Points with VBA

    Hi, I'm trying to color some datapoints in a scatterplot based on the color in the neighboring cell where the data is. I've written some code, but I'm not sure why it's not working. I don't get any errors, but the datapoints do not change color. Basically I recorded myself selecting a...
  19. L

    How to use Lookup in vba

    I'm trying to set the background color of a square shape based on the color in another cell (the background is not set by conditional formatting). So I have in the beginning: With Selection.ShapeRange.Fill .Visible = msoTrue .ForeColor.RGB = I'm trying to figure out what to put after...
  20. L

    Possible to retrieve fill color value from a cell with VBA?

    Hi, I am using excel 2007+ and I have a list of 200 contributors along with their annual contributions. I have conditionally formatted the contributions using the "Color Scale" conditional format from Red (lowest) to Green (highest). Is there anyway to communicate this fill color to excel...

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top