Jump to content

Recommended Posts

Posted

nice function! Thanks Zedna.
would be also very nice a companion function _XLSToArray() able to read data from Excel to an array (even if just raw data, not formula results of course...)

p.s.
I know that the great Excel UDF can do the job, but a lightweight function that has no need of Excel installed could be very practical sometime.

 

image.jpeg.9f1a974c98e9f77d824b358729b089b0.jpeg Chimp

small minds discuss people average minds discuss events great minds discuss ideas.... and use AutoIt....

  • 3 months later...
Posted

Just grabbed this today for a project, the UDF works however for me its dumping like 12 testxxx.xls files along with my result file and opening excel up.  I have no idea what that is about its like digging up old excel files from the past that had "test" as part of the file name.  Happens every time I run it.

 

First time I ran it I used "test.xls" as my file name so figured that is why, changed it to something totally different and it still dumps the 12 or so files with "test" in the file name.  Including files I deleted ages ago.

Posted (edited)

Just grabbed this today for a project, the UDF works however for me its dumping like 12 testxxx.xls files along with my result file and opening excel up.

In example in my first post there is not only declaration of that function but also testing script at top of my code that calls _ArrayToXLS() 12 times and generates 12 XLS files and finally open it by calling ShellExecute().

So just comment/remove these calls in your script.

It's there only as example for people to see how to use it ...

Edited by Zedna
  • 1 year later...

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
  • Recently Browsing   0 members

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