Study this code for insights:
http://www.rondebruin.nl/copy5.htm
--
Regards,
Tom Ogilvy
"rmcompute" wrote:
> I set up a few columns of data with an autofilter. The user selects only 1
> row at a time with the auto filter. I want to set up a macro to copy this
> row to another area of the worksheet for graphing. When All is selected by
> the filter, the first record is row 5. I can set up a macro to copy row 5 to
> another location for graphing. However, when a user selects any other row,
> row 5 of the spreadsheet is now replaced by that row and the macro does not
> work. Is there a way to determine what row the user selects by a filter, and
> copy that row to another area of the spreadsheet ?