How to close Eviews from VBA

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt

chapman24
Posts: 8
Joined: Mon Jun 22, 2009 10:20 am

How to close Eviews from VBA

Postby chapman24 » Fri Jun 26, 2009 8:40 am

Hi,

I wrote a VBA macro that calls Eviews to run seasonal adjustment. How to use VBA to close Eviews after it finishes? Thanks.

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13603
Joined: Tue Sep 16, 2008 5:38 pm

Re: How to close Eviews from VBA

Postby EViews Gareth » Fri Jun 26, 2009 9:30 am

Assuming you've written an EViews program, and you're just calling the EViews executable and telling it to run that program, simply include "exit" at the end of your program.

chapman24
Posts: 8
Joined: Mon Jun 22, 2009 10:20 am

Re: How to close Eviews from VBA

Postby chapman24 » Fri Jun 26, 2009 10:00 am

Thank you so much. Works Well.


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 1 guest