Jump to content
Sign in to follow this  

_ExcelBookClose dont close so strange

Recommended Posts


hi guy i have create a program for read some cell like addressbook by excel sheet

but when ( in line 242 ) tell close excel dont close , why ?? :(

i attach a file


Share this post

Link to post
Share on other sites

set excel to show (so dont hide excel win) and on _ExcelBookOpen see what will happen to win and then define...

"dont close" =

1.i think it did not even try to close that win.

2.i think code tryed to close win but win somehow got stuck like not responding or something similar

3.on process list it still exsist but win is closed i dont see win

And try solutions...

for definition:

1: put msgbox and see and see if even come to line where it need to close, if not then your problem is in do untill loop so your script newer exit it

2: look at quick fix to see do it help http://www.autoitscript.com/trac/autoit/ticket/2163

3: add $file_xls = '' to clean object right after _ExcelBookClose($file_xls,1,0) line, if it dont help try changing to and still keep $file_xls = ''

Basicly standard udf is (shud be almost if not 100%) identical to Locodarwin udf, and yet still according to some users and especially this user

Fixed like a Co-Worker. Your suggestions are worth their weight in gold.

it do fix the third problem if $file_xls = '' fails to do it solo Edited by bogQ

TCP server and client - Learning about TCP servers and clients connection
Au3 oIrrlicht - Irrlicht project
Au3impact - Another 3D DLL game engine for autoit. (3impact 3Drad related)

There are those that believe that the perfect heist lies in the preparation.
Some say that it’s all in the timing, seizing the right opportunity. Others even say it’s the ability to leave no trace behind, be a ghost.


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