range question

  • Thread starter Thread starter CG Rosén
  • Start date Start date
C

CG Rosén

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
 
If you're looking for a programming solution:

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

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