'===================================================================
' Auf CD Buchdaten\Beispiele\01_Einstieg\
' Dateiname 01_04_Colors.xls
' Tabelle Index
' Modul mdl_01_AllColors
'===================================================================
Sub AllColors()
Dim i As Integer
For i = 1 To 14
' Farbindex: 1-14
Cells(1, i).Value = i
Cells(2, i).Interior.ColorIndex = i
' Farbindex: 15-28
Cells(4, i).Value = i + 14
Cells(5, i).Interior.ColorIndex = i + 14
' Farbindex: 29-42
Cells(7, i).Value = i + 28
Cells(8, i).Interior.ColorIndex = i + 28
' Farbindex: 43-56
Cells(10, i).Value = i + 42
Cells(11, i).Interior.ColorIndex = i + 42
Next i
' Spaltenbreite verkleinern auf 2 Pixel
Columns("A:N").ColumnWidth = 2
End Sub
Excel 2003 Hintergrund und Schriftgröße eines Steuerelements verändern
thk4711 11.08.2007 - 84 Hits - 1 Antwort
Aus Excel mit Outlook 2003 E-Mail versenden
fedjo 14.08.2007 - 171 Hits -
Excel : In einer Zelle hinterlegter Hyperlink in Zelle daneben in Textform anzeigen lassen
Taka 10.12.2007 - 238 Hits - 12 Antworten
LinkedCell gibt Zahl in Textform aus
Platin7 03.04.2008 - 6 Hits - 5 Antworten
Verknüpfung zweier Excel-Tabellen
wartenix 18.04.2008 - 231 Hits - 4 Antworten