I want to check if a cell has a value of, say, 10:00:00 AM, and then a loop will be entered into.
[vba]
Range("J756:J761").Select
Selection.Copy
Range("J762").Select
Do While IsEmpty(ActiveCell.Offset(0, -7)) = False
ActiveCell.Offset(1, 0).Select
Do While ActiveCell.Offset(0, 2) = "10:00:00 AM"
ActiveSheet.Paste
ActiveCell.Offset(1, 0).Select
Loop
Loop
End Sub
[/vba]
The column with dates has cells with format h:mm:ss
However, I think the way I am referring to the date value is incorrect, because my code doesn't function the way I intended.