hi, I've tryed your code on OTD file protected, but It can't access to the storage macro. Have you any solution for open an OTD protected file?
thank u!
"Brian" wrote:
[Quoted Text] > Hello jjuan, > > Try: > > Sub Test() > If ActiveDocument.ProtectionType <> wdNoProtection Then > ActiveDocument.Unprotect > End If > End Sub > > Hope it helps, > > -- > Brian McCaffery > > > "jjuan" wrote: > > > I forgot the password of my word document, so i cannot unprotect to edit it. > > Anybody have a macro that Unproctect Document? > > > > > >
|