ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   to find the last column in macros (https://www.excelbanter.com/excel-programming/340662-find-last-column-macros.html)

Raja

to find the last column in macros
 
i need to find the last coulmn and in that i have to insert a label "score"
into it..

for eg , last col is L1 the in L1 the cell value s "score"

i need to do n macros

kindly help me

Rowan[_9_]

to find the last column in macros
 
try something like:

Cells(1, Columns.Count).End(xlToLeft).Offset(0, 1).Value = "score"

Hope this helps
Rowan

raja wrote:
i need to find the last coulmn and in that i have to insert a label "score"
into it..

for eg , last col is L1 the in L1 the cell value s "score"

i need to do n macros

kindly help me



All times are GMT +1. The time now is 11:35 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com