by chijanzen on 八月 22nd, 2009 | View: 3,893 views
其實Pcces轉出的excel檔案密碼都是一樣的 "RATSWVNXYRCMPIZ",不用這個小工具一樣可以自以手動解除密碼。這個工具只專門用來解Pcces檔案的,其他的密碼一概不能解,要解其他工作表密碼的可以參考 移除Excel工作簿及工作表密碼
Private Sub Workbook_BeforeClose(Cancel As Boolean) On Error Resume Next Application.CommandBars("Standard").Controls("cmd_PCCES").Delete Application.CommandBars("Standard").Controls("cmd_SCTC").DeleteEnd Sub Private Sub Workbook_Open() On Error Resume Next Dim TCSCButton As CommandBarButton Application.CommandBars("Standard").Controls("cmd_PCCES").Delete Set Std_Bar = Application.CommandBars("Standard") Set PCCE_Button = Std_Bar.Controls.Add(Type:=msoControlButton, Temporary:=True) With PCCE_Button .Caption = "cmd_PCCES" .OnAction = "xls_UnPcces" ThisWorkbook.Sheets("Sheet1").Shapes("PCCES").Copy .PasteFace .Style = msoButtonIcon .TooltipText = "Pcces 解鎖" End WithEnd Sub
Sub xls_UnPcces() Dim sht As Worksheet For Each sht In Worksheets If sht.ProtectContents Then On Error Resume Next sht.Unprotect ("RATSWVNXYRCMPIZ") End If Next MsgBox "Pcces 工作表保護已解除"End Sub
這次沒做安裝程式,請直接開啟檔案然後在工具列點選解鎖的小圖示
先開啟Pcces轉出的excel檔,然後再按解鎖的小圖示執行解鎖
Popularity: 44%
Why don't you make one?
Name: « Required
Email Address: « Required
Website URL: « Optional
Type your message here...
You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>
發表於討論區 一般訪客留言 於 九月 7, 2010
發表於討論區 一般訪客留言 於 六月 6, 2010
發表於討論區 API函數 於 一月 19, 2010
發表於討論區 技術交流 於 一月 13, 2010
發表於討論區 一般訪客留言 by reader 於 九月 7, 2010 at 9:31 下午
發表於討論區 一般訪客留言 by kenjo 於 六月 6, 2010 at 2:55 下午
發表於討論區 API函數 by chijanzen 於 一月 19, 2010 at 1:50 下午
發表於討論區 API函數 by chijanzen 於 一月 19, 2010 at 1:11 下午
發表於討論區 技術交流 by chijanzen 於 一月 13, 2010 at 5:43 下午
GEOLOC
姓名:超級皮卡丘
網路化名: chijanzen、中國龍
經歷:
Why don't you make one?