Beefy Boxes and Bandwidth Generously Provided by pair Networks RobOMonk
Don't ask to ask, just ask
 
PerlMonks  

Re^3: Set Excel file name (without saving!)

by Riales (Hermit)
on Aug 22, 2012 at 17:25 UTC ( #989105=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Set Excel file name (without saving!)
in thread Set Excel file name (without saving!)

Sorry, I was actually not familiar with the Win32::OLE module (at all), but I've taken a quick look-see and here's what I've gleaned...

It sounds like you're trying to automate some part of creating a spreadsheet while a user is editing that same spreadsheet. To me, that sounds like a recipe for a mess, but I don't really know what it is you are ultimately trying to do. If it were me, I would have the script take in parameters up front and then have the script do everything instead of having both the user and the script working on some spreadsheet at once.

So for your case, I would take the folder they want to dump the excel file in up front as a parameter to the script, and just go ahead and create the workbook in that folder. Now they have a saved workbook with the proper name in the proper folder.

Hope that helps!


Comment on Re^3: Set Excel file name (without saving!)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://989105]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (13)
As of 2014-04-18 13:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (468 votes), past polls