Hello Stefi,
AS the For Each loop finds the visible cells, store the information i
an Array. You can then reference the array later to retrieve the value
address, etc. for the cell you want.
Code
-------------------
Dim SpCells()
Dim cell
Dim n As Long
For Each cell In filteredrng
Redim Preserve SpCells(1, n)
SpCells(0, n) = cell.Row
SpCells(1, n) = cell.Value
n = n + 1
Next cell
-------------------
Sincerely,
Leith Ros
--
Leith Ros
-----------------------------------------------------------------------
Leith Ross's Profile:
http://www.excelforum.com/member.php...fo&userid=1846
View this thread:
http://www.excelforum.com/showthread.php?threadid=47971