ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   filtered rows getting shaded alternately (conditional formatting) (https://www.excelbanter.com/excel-programming/439792-filtered-rows-getting-shaded-alternately-conditional-formatting.html)

andreashermle

filtered rows getting shaded alternately (conditional formatting)
 
Dear Experts:

The following formula (=MOD(SUBTOTAL(3,$A$1:$A2),2) as a conditional
format keeps up alternate shading even if a list is filtered

Now I would like to use a macro solution to automate this process with
the following requirements:

- The List is in Sheet 1 and has the following name: 'Sheet 1!
DataList'
- The macro solution should allow for extension of the list below the
named range, i.e. a dynamic named range is to be used in the macro
- Alternate grey shading is to be applied

Help is much appreciated.

Thank you very much in advance.

Regards, Andreas


All times are GMT +1. The time now is 09:09 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com