Going through each item in a sheet

  • Thread starter Thread starter ajitpalsingh200
  • Start date Start date
A

ajitpalsingh200

Thankx you very much magesh..But i hv one more ques here..

How do it get the number of items in the list..

For example lets say Cell A have 20 items...How do i write a code t
find out the number of items in cell A

thankx agai
 
Range("A1").Select
NosOfItems = Range(Selection, Selection.End(xlDown)).Count

NosOfItems gives the required number

- Manges
 

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