R
rott
Hi I'm new to vba programming, here is my problem. I have 2 variable
one named start_date and the other end_date. What I am trying to do i
go through a worksheet and look at a cell in each row called startdat
and compare it to the dates that were entered into the variables above
If the date in the cell in each row is not >= to the start_dat
variable and is not <= the end_date variable then I want to delete tha
entire row. Basically if the date in the cell is not within the dat
range of the two variables, then that row needs to be deleted.
It needs to go through the whole worksheet to eliminate all rows wit
dates that don't fall within this range.
Can someone please help I am desperate.
Thank
one named start_date and the other end_date. What I am trying to do i
go through a worksheet and look at a cell in each row called startdat
and compare it to the dates that were entered into the variables above
If the date in the cell in each row is not >= to the start_dat
variable and is not <= the end_date variable then I want to delete tha
entire row. Basically if the date in the cell is not within the dat
range of the two variables, then that row needs to be deleted.
It needs to go through the whole worksheet to eliminate all rows wit
dates that don't fall within this range.
Can someone please help I am desperate.
Thank