ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   range question (https://www.excelbanter.com/excel-programming/317846-range-question.html)

CG Rosén

range question
 
Good Day Group,

Any hints on this problem;

I have different text in Range("A1:C1500). Is there a quick way
to insert the individual rownumber for each row of this range in
Range("D1:D1500") without looping trough the entire range?

Best Regards

CG Rosén



Don Guillett[_4_]

range question
 
maybe
=row() and copy down.

--
Don Guillett
SalesAid Software

"CG Rosén" wrote in message
...
Good Day Group,

Any hints on this problem;

I have different text in Range("A1:C1500). Is there a quick way
to insert the individual rownumber for each row of this range in
Range("D1:D1500") without looping trough the entire range?

Best Regards

CG Rosén





JE McGimpsey

range question
 
If you're looking for a programming solution:

With Range("D1:D1500")
.Formula = "=ROW()"
.Value = .Value
End With


In article ,
"CG Rosén" wrote:

Good Day Group,

Any hints on this problem;

I have different text in Range("A1:C1500). Is there a quick way
to insert the individual rownumber for each row of this range in
Range("D1:D1500") without looping trough the entire range?

Best Regards

CG Rosén



All times are GMT +1. The time now is 05:01 PM.

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