how to call an EViews program file from Excel VBA?
Posted: Wed Nov 30, 2011 2:09 pm
Hello,
I am looking for an example to get me started running EViews programs from Excel VBA. I have seen the white paper and some of the posts related to calling and working with workfiles, but did not see anything with the .prg files.
Below is what I have for workfiles, could someone please help me adjust this to work with EViews program files? I am working with version 7.
Dim program_to_call As String
program_to_call = "C:\program_file"
'Open connection to EViews
Dim mgr As New EViews.Manager
Dim app As EViews.Application
Set app = mgr.GetApplication(ExistingOrNew)
app.Run "wfopen " & program_to_call
Any help would be greatly appreciated.
I am looking for an example to get me started running EViews programs from Excel VBA. I have seen the white paper and some of the posts related to calling and working with workfiles, but did not see anything with the .prg files.
Below is what I have for workfiles, could someone please help me adjust this to work with EViews program files? I am working with version 7.
Dim program_to_call As String
program_to_call = "C:\program_file"
'Open connection to EViews
Dim mgr As New EViews.Manager
Dim app As EViews.Application
Set app = mgr.GetApplication(ExistingOrNew)
app.Run "wfopen " & program_to_call
Any help would be greatly appreciated.