lastcell

  • Thread starter Thread starter Danilo
  • Start date Start date
D

Danilo

with this code
ActiveCell.SpecialCells(xlCellTypeLastCell).Column i get always the
lastcolumn of the worksheet

I need to get the last column written of each single row in a sheet
How do i get it?

Tya
 
Try this

LastRowInColumn = Range("A65536").End(xlUp).Row

Change the A to the row you want

Mike
 
no this give me the row, i need column for each row but i found this
Cells(x, Columns.Count).End(xlToLeft).Column
 

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

Back
Top