Echoes has asked for the wisdom of the Perl Monks concerning the following question:
So, I really need to translate it in perl. I tried a lot of things without success... Can anyone help me, please :( Thanks a lot, Regards.Sub UnprotectVBProject(WkBk As Workbook, ByVal Pwd As String) Dim vbProj As Object Set vbProj = WkBk.VBProject If vbProj.Protection <> 1 Then Exit Sub ' already unprotected Set Application.VBE.ActiveVBProject = vbProj SendKeys Pwd & "~~" Application.VBE.CommandBars(1).FindControl(ID:=2578, recursive:=True).Execute End Sub
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Unprotect source code from Excel files with perl
by marto (Cardinal) on Oct 13, 2008 at 11:16 UTC | |
by Anonymous Monk on Oct 13, 2008 at 12:24 UTC | |
by Echoes (Initiate) on Oct 13, 2008 at 12:27 UTC | |
|
Re: Unprotect source code from Excel files with perl
by Anonymous Monk on Oct 13, 2008 at 21:26 UTC | |
by Echoes (Initiate) on Oct 14, 2008 at 12:01 UTC |