Hi,
I am not sure how to find the last column in a row using excel macro programming.
What I need to do is, to find the last column of row 1,
For example, I am using row 1 as my cursor, i start from column "G", and i don't know where the last column in row 1 is...
I have used lastrow but not sure how to use lastcolumn
the codes i used for last row is
Sheet1LastRow = ThisWorkbook.Sheets("Sheet1").Range("A" & Rows.Count).End(xlUp).Row
I am not sure how to find the last column in a row using excel macro programming.
What I need to do is, to find the last column of row 1,
For example, I am using row 1 as my cursor, i start from column "G", and i don't know where the last column in row 1 is...
I have used lastrow but not sure how to use lastcolumn
the codes i used for last row is
Sheet1LastRow = ThisWorkbook.Sheets("Sheet1").Range("A" & Rows.Count).End(xlUp).Row