Quantcast
Channel: Excel Help Forum - Excel Programming / VBA / Macros
Viewing all articles
Browse latest Browse all 50167

Run a Non VBA Script

$
0
0
We are an IBM iSeries company.

I have several query scripts that I run manually to pull data and drop to Excel spreadsheets. I run these by double clicking on the script shortcut icons. I then run a VBA macro to replace all of the individual worksheets in a workbook from the newly created workbooks I created earlier.

What I am wondering, is if there is a way to run these external scrips from within my workbook's VBA?

The scripts are for a Windows product to query the iSeries, named Sequel ViewPoint.

Sample script:

Code:

[Data]
View=SYS1/TESTDSWI/GEFTP_WI
[Function]
Option=PC_FILE
Target=PC
File=G:\IT\Applications Help Desk\Documentation\Help Desk\Elg\Updates\GEFTP_WI.XLS
FileType=*XLS
MaxRecords=0
QuietMode=N
Logging=N
[Command]
Switches="C:\Program Files\SEQUEL ViewPoint\ViewPoint.exe"  /V:SYS1/TESTDSWI/GEFTP_WI  /D:G:\IT\Applications Help Desk\Documentation\Help Desk\Elg\Updates\GEFTP_WI.XLS /F:*XLS /Q:N

Thanks,
Dennis Swearingen

Viewing all articles
Browse latest Browse all 50167

Trending Articles