Difference between revisions of "Referencing the Ribbon Commander library in VBA"

From Ribbon Commander Documentation
Jump to: navigation, search
(Created page with "# Create a new project in your favourite office application # Add a VBA reference to the Dynamic RibbonX library (Tools->References) #: image:VBAReference.png # The librar...")
 
(No difference)

Revision as of 17:38, 19 October 2013

  1. Create a new project in your favourite office application
  2. Add a VBA reference to the Dynamic RibbonX library (Tools->References)
    VBAReference.png
  3. The library is now ready to use. In the immediate window enter
    ?rxCustomUI.defaultInstance.targetOfficeVersion
    This should print the major version of the office platform you are using. If you are running in an older version of office you will get a runtime error instead (the error message here is for excel)
    UnsupportedExcelVersion.png