ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Columns Entry (https://www.excelbanter.com/excel-discussion-misc-queries/51389-columns-entry.html)

aftamath

Columns Entry
 
How do I use VBA code to lookup the last entry in a column.

bpeltzer

Columns Entry
 
Select row 65536 in the column of interest and then control-up. You can
record this and then look at the VBA:
Range("I65536").Select
Selection.End(xlUp).Select
--Bruce

"aftamath" wrote:

How do I use VBA code to lookup the last entry in a column.



All times are GMT +1. The time now is 10:32 PM.

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