Remove spaces between items in a dropdown list

M

Michael Lanier

I have dropdown lists (Data > Validation > List) that reflect spaces
between items. A list with the range of A1:A6 before zeros are
hidden
may look like this:

Apples
Oranges
0
0
Lemons
0


I would like for the list to look like this:


Apples
Oranges
Lemons
0
0
0


Can someone suggest a macro for this? Thanks.


Michael
 
S

Shane Devenshire

Hi,

If the list is getting these from a range, just rearrange the range in the
order you wish.
 

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

Top