Help Identifying code statement

  • Thread starter Thread starter Ayo
  • Start date Start date
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
 
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.
 
Back
Top