Solved it i used[VBA]
If Time > TimeValue("00:01:00") And Time < TimeValue("06:50:00") Then
[/VBA]