Lauraswint
Board Regular
- Joined
- Aug 27, 2010
- Messages
- 87
I have a report in which if a certain value is in the cell I would like it to be ignored.
e.g column B if cell value _ Cha then ignore it
if value = anything else then complete action
This is the code currently
e.g column B if cell value _ Cha then ignore it
if value = anything else then complete action
This is the code currently
Code:
'machine
With Sheets("Sheet1")
lr = .Cells(Rows.Count, "l").End(xlUp).Row
.Range("l3:L" & lr).Copy Destination:=Sheets("Sheet2").Range("B6")
End With