Jump to content

How to close Excel?


Recommended Posts

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
....
Link to comment
Share on other sites

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
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...