you can refer to the row of the cell that contained the value of the Find:
dim FoundCell as range
with activesheet
set foundcell = .cells.find(what:=.....)
end with
if foundcell is nothing then
'not found
else
msgbox foundcell.row
end if
But I bet this isn't quite what you're asking....
LMIV wrote:
in macros row numbers remain fixed after a spreadsheet has been added a
series of new rows in specific locations based on the location of the various
active cells following a find command.
can this be improved by automatically opening up correct new rows based on
changing active cell?
--
Dave Peterson
|