Help Identifying code statement

A

Ayo

Can anyone tell me what these codes do? Or what they mean?
Thanks
lastrow = Worksheets(1).Range("B65536").End(xlUp).Row
rw = Worksheets(1).Range("B65536").End(xlUp).Row + 2
 
J

JMB

lastrow = Worksheets(1).Range("B65536").End(xlUp).Row

Identifies the last row in column B of the first worksheet that has a value
or formula.
rw = Worksheets(1).Range("B65536").End(xlUp).Row + 2

Identifies the last row in column B of the first worksheet that has a value
or formula and adds 2 to it.
 
Top