sdn.statsoft.com Contact Us
  • Home
  • Library
  • Examples
  • Learn
  • Community
STATISTICA Developer Network

STATISTICA Visual Basic and COM Examples

The STATISTICA object model can be called from a service or application using a COM-compliant programming language. Download examples in VB.NET, C++ and C#  that demonstrate how external applications can communicate with STATISTICA.

The object model can also be called within the STATISTICA application via the STATISTICA Visual Basic (SVB) language. It can be used to write custom extensions within STATISTICA and integrate systems. It provides access to the .NET Framework objects and Visual Basic for Applications (VBA) objects.

Example code is offered "as-is" without any guarantee. StatSoft's goal is to post accurate and functional code. Examples are written by StatSoft employees and customers.

Popular or New Examples

 Change Variable Order Based on Type *New* 

Correct Spelling and Translate Text *New* 

Google Analytics API via STATISTICA Visual Basic *New*  

Adding or deleting variables from STATISTICA Spreadsheets                                   
     
Bland-Altman Plot 

Create a one scatterplot graph from two different data files

Import STATISTICA spreadsheet into SQL or Oracle database

Iterating through spreadsheet variables or cases

My first SVB macro 

Search for value in spreadsheet and highlight it 

Send Email with STATISTICA

"Hello world" SVB macro 

Additional Examples

Read example SVB code for STATISTICA document objects: spreadsheets, graphs, reports, workbooks. Learn how to query data from a database, access Visual Basic functions within Microsoft Excel and Microsoft Word.

Download SVB macro example files.

Contribute New Examples

StatSoft invites you to contribute your code and programs by emailing developerdocumentation@statsoft.com. We appreciate your input.  Please follow the guidelines below to ensure that other users will best take advantage of your efforts:

  1. Provide a description of the task the program will perform.
  2. Provide a list of requirements for running the program (such as the type of output spreadsheet that must be active before running the program or the necessary data file needed to run the program properly).
  3. Note any adjustments that must be made to the code before running the program (such as data file path or variable names).
  4. Include comments throughout the code that will assist others in understanding each section's purpose. The better the documentation, the easier it will be for someone to use your program. Also, please include the description of the task the program will perform at the beginning of your program.
Copyright 2012 by StatSoft Inc. Terms Of UsePrivacy Statement