The wiki entry on Chat Menus has information about the various ways to format a clickable button, depending on what you are calling (macro or ability) and from where (same sheet, different sheet, collections macro, roll template, ability description field) What's going on up above, is a long-standing hack to get API Command Buttons to recognize a collections macro. ! tells the parser that this is going to be an API command. It allows the button to be a button. 
 is an HTML entity code for the Return character #macro is what you actually want to send to chat. So when you press the button, you send: !
#macro By the time the chat parser is through with it, the 
 is parsed into a Return, and it actually sees two lines: ! #macro The first line is ignored, since it is an empty API (Mod) command. The second line is treated as its own chat entry, the same as typing #macro into the chat.