Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Pulling Date Ranges
I have a column with dates that I use the following code to only pick up dates within a certain range. It works great but now I have to add another column that I needve to pick up that same date range from. So I need vb to look in the notelist column and if that date falls with the criteria pick it up then go to the other column and look for the same dates and add to the first. Can I add another if statement or do I have to repeat the entire code? Or what do you suggest? Still learning.
For Each cell In Range("NoteList") cell.Offset(0, 5).Value = cell.Offset(0, 5).Value If cell.Offset(0, 5) Range("HistDate") And cell.Offset(0, 5) <= Range("controldate") Then Select Case cell.Offset(0, 2) |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Web Query Pulling Date Incorrectly. | Excel Discussion (Misc queries) | |||
Pulling a value from another sheet, based on date | Excel Worksheet Functions | |||
Pulling Information into a sheet via date | Excel Discussion (Misc queries) | |||
Pulling information from another wksheet by date | Excel Discussion (Misc queries) | |||
Chart with Drop Down Box for Pulling mutpile Ranges | Excel Programming |