title: Powerpoint VBA/Macro: Deactivate (Grey out) Button on Ribbon, if no shape is selected
body: <p>I have a macro in Powerpoint that gives me Information of a Shape. To bypass the error if no shape is selected I insert an errormask. However, this is very annoying.</p>
  
  <p>Is it therefore possible to grey out the button if e.g. no Shape is selected. That way the user would npot even have a chance to click it.</p>
  
  <p>Custom UI XML:
  <a href="http://pastebin.com/T6NQ8WF8" rel="nofollow">http://pastebin.com/T6NQ8WF8</a></p>