alternate row shading

  1. B

    Alternate Row color on based on non-blank cell

    I have a spreadsheet that alternates the color of a range (C5:J500) or (=$C$5:$J$500) in conditional formatting selection. This part work great. The problem is most of these do not always have data. I would like the color of each row (C-J) to alternate color only if there was data in column C...
  2. A

    Alternating row shading macro

    I am trying to create a macro to alternate row colours in a selected range. Currently using conditional formatting and this is what the code looks like right now Sub Row_Shadding() ' ' Row_Shadding Macro ' ' Selection.FormatConditions.Add Type:=xlExpression, Formula1:= _...
  3. A

    Macro For Alternating row colour using Conditional Formatting

    I am very inexperienced with VBA (essentially only know to use the record tool and google everything else), but I am trying to create a macro to alternate row colours in a selected range. I am currently using conditional formatting and this is what the code looks like right now Sub...
  4. M

    Alternate row shading using solid color15

    Hi there, I am very new to the use of Macros and VBA. I have a requirement to highlight alternate rows of a spread sheet (excel2003) with grey shading. I am using this macro provided by MS support (http://support.microsoft.com/kb/213616): Sub ShadeEveryOtherRow() Dim Counter As Integer...

Some videos you may like

This Week's Hot Topics

  • VBA (Userform)
    Hi All, I just would like to know why my code isn't working. Here is my VBA code: [CODE=vba]Private Sub OKButton_Click() Dim i As Integer...
  • List box that changes fill color
    Hello, I have gone through so many pages trying to figure this out. I have a 2020 calendar that depending on the day needs to have a certain...
  • Remove duplicates and retain one. Cross-linked cases
    Hi all I ran out of google keywords to use and still couldn't find a reference how to achieve the results of a single count. It would be great if...
  • VBA Copy and Paste With Duplicates
    Hello All, I'm in need of some input. My VBA skills are sub-par at best. I've assembled this code from basic research and it works but is...
  • Macro
    is it possible for a macro to run if the active cell value is different to the value above it
  • IF DATE and TIME
    I currently use this to check if date has passed but i also need to set a time on it too. Is it possible? [CODE=vba]=IF(B:B>TODAY(),"Not...
Top