Hi there, I encountered some annoying run-time errors when reordering items. I am using Excel 2010
I have a UserForm containing a ListBox, whose RowSource is set to a named table (ListObject). I would like to allow the user to reorder the items in the list by clicking up/down buttons, as well as the functionalities to add/remove. It works well sometimes, but in many cases I'll see a run-time error at the line
. Sometimes it's run-time error 1004 saying some methods (add/clear/cut etc.) failed. Sometimes it tells me the object invoked is disconnected from the clients... I guess I have done something really wrong but can't figure it out. Can anyone help? thanks in advance.
Here is a subroutine of a Down button in my UserForm:
Bookmarks