Ich hab eine Liste mit überschrift.
Jetzt möchte ich ab Zeile 2 alle 6 Zeilen gelb markiert haben. Von Spalte A bis H.
Wie kann man sowas machen?
LG sandy
L | M | N | O | |
1 | 1 | |||
2 | ||||
3 | 1 | |||
4 | ||||
5 | 5 | |||
6 | 6 | |||
7 | 7 | |||
8 | 1 | |||
9 | 9 | |||
10 | 10 | |||
11 | 11 | |||
12 | 1 | |||
13 | 13 | |||
14 | 14 | |||
15 | 15 | |||
16 | 16 | |||
17 | 17 |
Bedingte Formatierung Haupttabelle 1 | |||||||||||
Zelle | Nr. Bed. Regeltyp | Operator | Formel1 | Formel2 | Format Schrift Füllfarbe | Unterstrichen | Schrift- farbe | Muster | Musterfarbe | Typ | Bereich |
$L$1:$O$17 | 01.Bed.: Formel ist | =REST(ZEILE();6)=2 | 12632256 | 2 | L1:O17 |
Bedingte Formatierung Haupttabelle 2 | oberere/unterer Bereich | ||||||||
Zelle | Nr. Bed. | Format Zelle | Anhalten | Auswahl | Anzeige | Anzahl | Durchschnitt | Typ | Bereich |
$L$1:$O$17 | 01.Bed. | Wahr | 2 | L1:O17 |
Excel-Inn.de |
Hajo-Excel.de |
XHTML-Tabelle zur Darstellung in Foren, einschl. der neuen Funktionen ab Version 2007 |
Add-In-Version 18.25 einschl. 64 Bit |
Sub Färben6
dim Z as long
for Z = 2 to Cells.SpecialCells(xlcelltypelastcell).Row Step 6
Cells(Z, 1).Resize(1, 8).Interior.Color = vbYellow
Next
End Sub
Gruß Daniel