Hi there, I hope someone can help
I use the following code to copy a whole excel table to a "datarange" , then I loop through it looking for data, etc
I use this datarange for Read only, there is no changes needed to the info.
I would like however to create a DataRange, but ONLY with filtered records.
The whole table is too big, and it is taking too long to search for info.
So before I create the Datarange, I would like to filter by one of the columns (1), then the number of records will be much smaller and (I suppose) much faster as the DataRange will be smaller too.
Your help is appreciated
I use the following code to copy a whole excel table to a "datarange" , then I loop through it looking for data, etc
I use this datarange for Read only, there is no changes needed to the info.
Code:
DataRange = Workbooks("OPENED.XLS").Worksheets("FILESAVED").Range("A2:Z5000").Value
I would like however to create a DataRange, but ONLY with filtered records.
The whole table is too big, and it is taking too long to search for info.
So before I create the Datarange, I would like to filter by one of the columns (1), then the number of records will be much smaller and (I suppose) much faster as the DataRange will be smaller too.
Your help is appreciated