C
catlair
Hi
By using the following I am able to count the number of lines that have
data:
iDataRows =
Application.WorksheetFunction.CountA(ActiveSheet.Columns(1))
For x = 1 To iDataRows
'Your processing code here
Next x
Then use the same info or data for this Advance Filter as a target cell
for after the "Range" as a "CriteriaRange" first cell data (+ 1) and
then calculating the end cell (+ 7), and copy into a cell down:
Range("A1:S100").AdvancedFilter Action:=xlFilterCopy,
CriteriaRange:=Range( _
"A101:B107"), CopyToRange:=Range("A110"), Unique:=False
How do I use this "iDataRows" variable to perform this function?
I am not familiar at all with VB.
By using the following I am able to count the number of lines that have
data:
iDataRows =
Application.WorksheetFunction.CountA(ActiveSheet.Columns(1))
For x = 1 To iDataRows
'Your processing code here
Next x
Then use the same info or data for this Advance Filter as a target cell
for after the "Range" as a "CriteriaRange" first cell data (+ 1) and
then calculating the end cell (+ 7), and copy into a cell down:
Range("A1:S100").AdvancedFilter Action:=xlFilterCopy,
CriteriaRange:=Range( _
"A101:B107"), CopyToRange:=Range("A110"), Unique:=False
How do I use this "iDataRows" variable to perform this function?
I am not familiar at all with VB.