Hilfe zum Makro: Zeile anstatt Zelle
19.11.2008 12:05:06
Josef_T
kann mir bitte jemand helfen, unten stehendes Makro so abzuändern, dass beim Doppelklick die aktive Zeile von "A" bis "K", anstatt nur aktive Zelle unterlegt wird?
Danke schon mal
Gruß
Josef
Private Sub Workbook_SheetBeforeDoubleClick(ByVal Sh As Object, ByVal Target As Range, Cancel _
_
As Boolean)
If ActiveCell.Interior.ColorIndex = -4142 Then
ActiveCell.Interior.ColorIndex = 36
Else
ActiveCell.Interior.ColorIndex = -4142
End If
End Sub