I have a VisualBasic macro in Excel that copies some data from one data
sheet to another. The code is:
Sheets("Calculations").Range("A4:X200").AdvancedFi lter
Action:=xlFilterCopy, _
CriteriaRange:=Range("A19:A34"), CopyToRange:=Range("C19:D34"),
Unique:= _
False
Now, I would like to replace the .Range("A4:X200") with a calculated
range but I can't seem to figure out how. I have tried things like
..Range(Cells(4,1),Cells(200,24)) but that doesn't seem to work.
Eventually I want to calculate myRow and myColumn and use them in the
Cell reference (e.g., Cells(myRow,myColumn)). Is there any way to do
this?
Thanks!
--
YoungGuy
------------------------------------------------------------------------
YoungGuy's Profile:
http://www.excelforum.com/member.php...o&userid=29654
View this thread:
http://www.excelforum.com/showthread...hreadid=503153