Determining the row limit in a macro
MaximumNumberOfRows = ActiveSheet.Rows.Count
--
Rick (MVP - Excel)
"Phil Hibbs" wrote in message
...
How can a macro determine what the maximum number of rows is in the
version of Excel that is running? I don't want to just hard-code
version numbers, and I don't want to use .end(xldown) either.
Phil Hibbs.
|