Sign in to follow this  
Followers 0
nuberoid

How to close Excel?

2 posts in this topic

Hi all!

i have noob problem =)

$filename = "\\server_1\Psd_Work\IS Distribution\управлятор_v_4.02.xls"
$oExcel = ObjCreate("Excel.Application") ;crete excel object
$oExcel.WorkBooks.Open($FileName) ;open desired file containing the macro
$oExcel.Run("run_frm_sh") ;run the macro
....

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Whats the problem?

Look in the help file for:

_ExcelBookOpen()

...

_ExcelBookClose()

Cheers,

Brett

Oh and check out this:

http://www.autoitscript.com/forum/index.php?showtopic=48045&view=findpost&p=360723

Edited by BrettF

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0