Thanks Leith,
With that being said, I still would like to use some method to resize the list.
So, I've attempted to put together a function which seems to work to some extent. I have a few problems with it which I hope I can get resolved.
Here's what I have, (along with commented out lines which are my holdbacks)
In my code, I set LB to listbox2 which is on sheet(1).
If I try and carry LB to my Function , LB.name will show LB's name, but if if say
LB.count it will error. Is there a way I can use my named object (LB) withing the Function other than just identifying the name?
Once my Function does the calculation to listbox adjustment it returns a value to plug in
which set the proper height. However, I'm still not always getting the height correctly adjusted for the number of items in the list. I don't know if it because my list is being built with directory names?
Anyways any help is much appreciated.
Thanks,
BDB
Bookmarks