Excel VBA Class Module Code | Ascertain Final Row

preview_player
Показать описание
This video will show you the source code to an Excel VBA class module that is designed to ascertain the location of the final row on a sheet.



***
*** Versions below 0.3.1a should only be used if pFinalRow_M3 is disabled ***



Рекомендации по теме
Комментарии
Автор

I cringe when I see constants like "65536" hard-coded into a program (the max number of rows for Excel 2007), but I see this used quite a lot. I was wondering if there are any issues/drawbacks with using "Rows.Count" or "Columns.Count" instead of using the max rows/columns for a specific version of Excel? I use ".Count" but I see hard-code constants used so much that I thought I'd ask people smarter than me if there was a reason to using one over the other.

zamazina
visit shbcf.ru