Potřebuji napsat něco ve stylu:
Kód: Vybrat vše
If TargetCell.Row = "lichy radek" Then
Range("A1")
Else
Range("B1")
End If
Neví někdo jak na to ??
Moderátor: Mods_senior

Kód: Vybrat vše
If TargetCell.Row = "lichy radek" Then
Range("A1")
Else
Range("B1")
End If
Kód: Vybrat vše
If TargetCell.Row Mod 2 <> 0 Then
Range ("A1")
Else
Range ("B1")
End If