I have a series of one sheet XLS files that are inventory detail sheets. The data in each sheet needs to be copied to a new sheet for consolidation. The data fields exist in every sheet in coherent groups but due to ‘tweaking”, some sheets have extra rows. This plays havoc with a straight Range-Select-Copy-NewSheet Paste process. I can grab all of the data with a Find of the data labels and do an Offset(0,1) to Select the data fields but would like to speed the process. There are 1300 files, each with 43 data fields that need extracting. The data occurs in groups. Once I Find a particular DataLabel, I can use Offset to get to 3-12 data fields.
A data group looks like this:
Model# MDR103C Serial# 234-4565 Mfr. Date 9/03/99
Desc. Mens Ring Size 11
How do I turn an address that is the result of a Find process into an Offset variable reference point?
It could look something like this:
Find “Model#”…. Activate ‘ GoTo Model# DataLabel
xy1 = Selection ‘Capture this address as a reference point
Offet(0,1).Select ‘GoTo to Model Number data field
Selection.Copy
.code
.code
.code
Range(xy1).Select ‘GoTo original reference point
Offset(0,3).Select ‘GoTo Serial Number data field based on reference point
Selection.copy
.code
.code
.code
I am so close but have run out of iterations….
Any suggestions?