faustf Posted August 1, 2012 Share Posted August 1, 2012 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 filesandro-gest.au3 Link to comment Share on other sites More sharing options...
bogQ Posted August 1, 2012 Share Posted August 1, 2012 (edited) 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 similar3.on process list it still exsist but win is closed i dont see winAnd 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 it2: look at quick fix to see do it help http://www.autoitscript.com/trac/autoit/ticket/21633: 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 userFixed 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 August 1, 2012 by bogQ TCP server and client - Learning about TCP servers and clients connectionAu3 oIrrlicht - Irrlicht projectAu3impact - 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. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now