Tutorials
When you'll have working addin with ribbon and custom buttons. Use this code to run macro from button event handler:
/// <summary>
/// Runs macro
/// </summary>
/// <param name="oApp">Application object</param>
/// <param name="oRunArgs">Macro arguments (first macro name)</param>
public static void RunMacro(object oApp, object[] oRunArgs)
{
oApp.GetType().InvokeMember("Run",
System.Reflection.BindingFlags.Default |
System.Reflection.BindingFlags.InvokeMethod,
null, oApp, oRunArgs);
}