I am looking to extract or archive files via a macro of an excel file.
I have a macro that creates documents in PDM from a template in order to have a correct data map.
I saw on different forums that there was an EPDM API that allows you to do a lot of things, however I didn't find the syntax to do this famous lock/unlock...
I managed to archive (which interests me the most) and extract with the links given.
On the other hand, for the epdm.bas file you provide, I have a problem with the function, excel does not recognize IEdmFolder9, it gives me an error on the subject. (Undefined standard error).
did you add the reference to EPDM in excel? If so, try to retype the command to see which version it offers you, maybe we don't have the same versions otherwise you can remove the declaration it will also work I think
If I remember correctly how it works, you have to find the ID of your file in EPDM with the full path and then you can archive it because the path is not its location in EPDM, it's virtual the path in EPDM (I don't know if you follow me ;) )