Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: save read-only Excel

by sundialsvc4 (Abbot)
on Jun 23, 2015 at 18:37 UTC ( [id://1131702]=note: print w/replies, xml ) Need Help??


in reply to save read-only Excel

What am I missing here?   If the Excel file is “read only,” then naturally Windows will not allow it to be replaced.   It will insist that the file must be saved under a different name.   And, yes, it just might “pop up a user prompt” in that case.   Your program, therefore (and regardless of language) must detect that the file is read-only ... OLE will tell you ... and “save as” in that case, thereby avoiding any prompt.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (2)
As of 2024-04-19 19:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found