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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top