Search for Example Programs
DATAQ Home
Products
Support
Sales
Applications
Checkout

How do I Start and Stop WinDaq/XL from VBA?

It is possible to Start and Stop WinDaq/XL from Visual Basic for Applications (VBA) in Microsoft Excel.

Step 1: Add WinDaqXLVBA Add-In as a Reference to your VBA project.

Go to Tools>>References and put a check mark next to WinDaqXLVBA.

If WinDaqXLVBA does not appear as an available reference you may not have the latest release of the WinDaq/XL software. Version 1.42 or greater is needed. Click here to download the latest version.

Step 2: Use WinDaqXLVBA functions to Start Recording, Stop Recording, and display the set-up form.
VBA Syntax
WinDaqXLVBA.StartRecording Start Recording using the settings from the last import.
NOTE: If used from a custom form, the form must be hidden before the import will start.
WinDaqXLVBA.StopRecording Stop Recording.
WinDaqXLVBA.ShowSetUpForm Display the set-up form to define WinDaq/XL settings.

DATAQ Instruments, Inc. All rights reserved.  Date last edited 2/18/2008
Email Webmaster