ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   how to define range for autofill without knowing the last row . (https://www.excelbanter.com/excel-programming/376935-how-define-range-autofill-without-knowing-last-row.html)

Teji

how to define range for autofill without knowing the last row .
 
In Excel Macro i am using, i need to define the range for
Autofill(eg.B1:B5) but the last row defined here B5 can vary with new
worksheets. I need to use a formulea to calculate the last row available
with data such that it can be used (eg B1: B(=counta(a1:a100)).where counta
provides the number of last row to be filled..?? The counta that i
tried to use aove does'nt work... Can you HELP..!


All times are GMT +1. The time now is 05:04 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com