https://bugs.documentfoundation.org/show_bug.cgi?id=164116
--- Comment #9 from Mike Kaganski <[email protected]> --- (In reply to Nick from comment #6) > Created attachment 197953 [details] > ods File of macro DaatSort You still didn't put the macro into the ODS (instead, you provide an *ODT* with the *text* of the macro, which is incomplete - I don't even mean that it missed the "end sub" - when put into a Basic library, and the "end sub" is restored, it cannot run - because the objects like "oSortFields" and "oSortDesc" are not defined). You seem to not test *what you send* yourself - you only select and copy some parts of the code that you actually have somewhere. Yes you mentioned that the code is from OOME. So you expect others to go and find the pieces that you decided to omit? There are several listings there about sorting; and in not a single place, there is e.g. "oSortFields(0).Field = 7"; or a code that only sets FieldType to oSortFields(1). -- You are receiving this mail because: You are the assignee for the bug.
