How to add customized SVB macro to Statistica Ribbon bar menu?

How to add customized SVB macro to Statistica Ribbon bar menu?

book

Article ID: KB0080886

calendar_today

Updated On:

Products Versions
Spotfire Statistica 13.0 and higher

Description

This article summarize ways to add customized SVB macro to Statistica Ribbon bar menu.

Issue/Introduction

How to add customized SVB macro to Statistica Ribbon bar menu?

Environment

Windows

Resolution

Resolution 1:

Open the customized SVB macro in Statistica, go to Ribbon menu tab "Home", click on "Macro" under Tools group to expand the drop down options, select "Add Macro to Ribbon Bar". 

User-added image

The SVB macro will be added to "Macro" drop down option list. 

User-added image

Resolution 2:

Create a new SVB macro with function "Application.RibbonBarSettings.AddMacro(  )" to add a customized macro to ribbon bar menu.
The first parameter of the function Application.RibbonBarSettings.AddMacro( ) is the path for the customized macro that user has saved and wants to add. 
Execution of Application.RibbonBarSettings.AddMacro(  ) will add the specified macro to the drop down option list of "Home" | "Macro".

User-added image

Resolution 3:

Another option is to add user customized SVB macro to Statistica Quick Access toolbar. 
This could be done through SVB function "Application.RibbonBarSettings.QuickAccess.AddMacro( )".
The first parameter of "Application.RibbonBarSettings.QuickAccess.AddMacro( )" is the path for the customized SVB macro that user has saved and wants to add. 
Execution of Application.RibbonBarSettings.QuickAccess.AddMacro( ) will add the specified macro to the Statistica Quick Access toolbar which is located by default on the very top of Statistica window.

User-added image

User can move the Quick Access toolbar to be under Statistica ribbon bar menu by clicking on the Quick Access option "Show Below the Ribbon".

User-added image

Refer to this article for additional information