Conditional Formatting: Shading alternate bands of rows
I would like to shade rows or bands of rows in a worksheet alternately when the value in Column A changes.
Seeking the formula to enter in conditional formatting rules to do this. Also wondering if there's any way through conditional formatting to format
a thick borderline between rows when the value in Column A changes.
Keys to the Problem Conditional Formatting: Shading alternate bands of rows
OK, not that hard.
Right-click on your sheet's tab and View Code. Paste in the following:
Private Sub Worksheet_Calculate()
Dim c As Range, rng As Range
Dim strLastCell As String
Dim b As Boolean
Set rng = Range("A2", Cells(ActiveSheet.Rows.Count, 1).End(xlUp))
For Each c In rng
If Not c.EntireRow.Hidden Then
If c.Value <> strLastCell Then b = Not b
If b Then
c.EntireRow.Interior.Color = RGB(200, 200, 200)
c.EntireRow.Interior.Pattern = xlNone
strLastCell = c.Value
To make the Worksheet Calculate event fire when the auto-filter is chanaged, you have to have a volatile function on the sheet. So in a cell somewhere out of the way, enter
That should do it. (And you can get rid of that column with the IFs, and all the conditional formatting now).
If you failed to fix it, another option is to call Microsoft and walk through the process with a technician. To do this, dial "1-800-936-5700". Explain the error that you received and the steps in the update process during which it was displayed. The technician will be able to walk through the steps from getting a new product key to finishing the installation.
Recommended Method to Repair the Problem: Conditional Formatting: Shading alternate bands of rows:
How to Fix Conditional Formatting: Shading alternate bands of rows with SmartPCFixer?
1. Click the button to download SmartPCFixer . Install it on your computer. Open it, and it will perform a scan for your system. The errors will be shown in the list.
2. After the scan is done, you can see the errors and problems need to be repaired. Click Fix All.
3. When the Fixing part is finished, your computer has been speeded up and the errors have been removed
Related: Best Way to Download Satellite L645-SP4004M WinDVD BD for Toshiba v.10.0.6.110 driver,Download Toshiba Satellite C655D-S5057 Wireless LAN Driver v.184.108.40.2068.0,Method to Update & Download Toshiba Satellite L650-BT2N22 Web Camera Application v.220.127.116.11 driver,How Can You Update & Download Toshiba Satellite L775D-S7220GR Value Added Package v.1.6.0130.640204 driver,Download Toshiba Satellite Pro L750-SP5176FM Sleep Utility v.1.4.0025.000101 driver,Best Way to Download NVidia GeForce 6100 VGA Driver v.304.51 Certified,How Can You Update & Download NVidia GeForce 9300/nForce 730i VGA Driver v.310.19 Certified,Method to Download NVidia GeForce GT 330M Driver v.340.65,How Can I Update & Download NVidia GeForce GTX 590 Driver v.280.26 WHQL,Method to Download NVidia Tesla C2050 Driver v.319.17,Way to Download RealTek RTL8100C(L) Driver v.5.01,Way to Download RealTek RTL8100E Drivers v.694,Way to Update & Download RealTek RTL8101L Auto Installation Program v.6.110 driver,Method to Update & Download RealTek RTL8111G PXE and RPL ROM code v.2.58 driver,How to Update & Download RealTek RTL8411B(N) Driver v.10.003,Best Way to Update & Download ASUS A53SV nVidia Graphics Driver v.18.104.22.16886,Method to Herunterladen ASUS K75VJ Intel Rapid Storage Technology Treiber v.22.214.171.1240,How Can You Update & Download ASUS CG8580 Intel Chipset Driver v.126.96.36.1999,Method to Update & Download ASUS K41VD Intel INF Update Driver v.188.8.131.525,Way to Update & Download ASUS Pro70T NB Probe v.3.0.0026 driver
Read More: Fast Solution to Problem: conditional formatting based on difference in value of two cells,computer locks up after starting internet explorer,Fast Solution to Problem: Concatenate formula changes my percentages and dollars to a huge decimal amount, how to get it to stay as a percentage and dollars?,Troubleshooter of Error: Conditionally change backcolor of cell depending on date,Computer Screen turning off Tech Support,Can't change homegroup sharing permission,Can't connect XP shared printer to Win7 except as a local printer.__,Can You Connect the LAN Adapter for Wii On your Windows 7 Laptop?,Can These Files Be Deleted,Can’t install Microsoft Flight Simulator X Gold Edition error 1722