View Full Version : Conditional copy for row-Date range

06-02-2006, 11:12 PM
:banghead: Dear all ,
One more problem this time,
I have excel sheet with around 9000 rows data in 15 columns.
This data is regarding the stocks at my warehouse. I keep record on the basis of the days they keep stock in my warehouse.
Now I want to know daily top ten stock holders , situation is date of storage is kept on date stock kept and stock removed not on day to day basis.
How can this be done?

I got idea that in other sheet I will mention the date on which I want to know stock position , and there macro should search entire sheet and copy row data where the date is following between date stored and date withdrawal. And then I will apply auto filter to get top ten

Please can any one help with code for this.

Best regards

06-03-2006, 06:45 AM
Hi Mind,
A small sample of your data/layout would help here

06-04-2006, 03:25 AM
Mind, it sounds as if your requirements would be better met using Access, not that it is difficult to do in Excel VBA, just that Access has those kind of functions available in Queries.