Home > Software engineering > Use Excel macro recording, how to read a column the last line of the data
Use Excel macro recording, how to read a column the last line of the data
Time:11-16
Often use Excel at ordinary times, often in the first column input zero to the value of x (x for the first column of the last line B valid data on several), using record macro how to read the B column the last line of the data, so make A list of add x form automatically closed,
CodePudding user response:
Usedrange. Rows. The count, this is the last line Usedrange. Columns. The count, this is the last column
CodePudding user response:
Range (" B1048576 "). The End (xlUp). The Value
CodePudding user response:
This is last line read automatically effective effective line number