Hi Jang,
Thank you very much for your detailed explanation! If I understood correctly, the array is needed to specify the whole path to the command under the format menu, right?
Question: oMyCodes is not defined anywhere in the code you posted. How is it supposed to work?
Thank you again!
Roman