CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

Home: Perl Programming Help: Win32 Programming Help:
writing to an open Excel file


New User

Sep 10, 2014, 1:35 AM

Post #1 of 2 (16025 views)
writing to an open Excel file Can't Post


I write a script in Perl that create an Excel file and write a data to it.

the problem is that after the script is done working and I open the Excel file and try to re-run the script its give me an error message and just after I close the file its working.

what can I do to solve this problem?


Veteran / Moderator

Sep 10, 2014, 10:50 AM

Post #2 of 2 (16020 views)
Re: [bts974] writing to an open Excel file [In reply to] Can't Post

Well, not sure to understand what you are doing. But if you open the file with Excel and try to run the script on the same file, then I would probably not expect it to work, as Excel is likely to lock the file it opens.

Also, when you ask such question, it would be good to give the content of the error message. That might help us to help you.


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives