Norie, thank you for the response. I ended up altering my code due to several reasons. Right now, I'm so confused and agitated! I discovered two errors. First, when I used the code I had initially listed, I kept getting errors because I was using a RowSource and altering the ListBox.Index with vba without altering the RowSource gave me errors. So I remodified my code to use two buttons, one with an UP arrow and one with a DOWN arrow. On my first attempt, it kept moving my named range "Vendor" only which kept my data in VendorList unmoved. I had to make Vendor a separate named range from VendorList or the listbox couldn't see it properly. So, I needed the arrow buttons to move the item in the named range VendorList up and down. A little edit later and this code is working fine:
Works like a champ:
This completely identical code does not work at all! The ONLY difference is I replaced xlDown with xlUp so the cut/paste would end up in the correct place. The error STOPS at =xlUp and says Run-time error '1004': Insert method of Range class failed. *If* I change xlUp to xlDown just to experiment, it works fine but performs the Up Arrow function. I have no clue why xlUp does not work in vba. Am I somehow using it incorrectly? From every example I've seen on the net, I seem to be using it correctly, so I'm at a real loss here.
Bookmarks