1.别人用excel表格做的目源码v码管理系统怎么查看此管理系统的源码?
别人用excel表格做的管理系统怎么查看此管理系统的源码?
如何查看使用Excel表格制作的管理系统的源码?
1. 打开Excel,按下Alt + F键进入VBA编辑器。源代
2. 在VBA编辑器中,目源码v码吃鸡无后源码点击“插入”菜单,源代选择“模块”选项。目源码v码红角鸮源码45专精源码
3. 在新模块中,源代源码三千网站源码复制并粘贴以下代码:
```vba
Sub MoveProtect()
Dim FileName As String
FileName = Application.GetOpenFilename("Excel文件(*.xls & *.xla),目源码v码*.xls;*.xla", , "VBA破解")
If FileName = CStr(False) Then
Exit Sub
Else
VBAPassword FileName, False
End If
End Sub
Private Function VBAPassword(FileName As String, Optional Protect As Boolean = False)
If Dir(FileName) = "" Then
Exit Function
Else
FileCopy FileName, FileName & ".bak"
End If
Dim GetData As String * 5
Open FileName For Binary As #1
Dim CMGs As Long
Dim DPBo As Long
For i = 1 To LOF(1)
Get #1, i, GetData
If GetData = "CMG=""" Then CMGs = i
If GetData = "[Host" Then DPBo = i - 2: Exit For
Next
If CMGs = 0 Then
MsgBox "请先对VBA编码设置一个保护密码...", , "提示"
Exit Function
End If
If Protect = False Then
Dim St As String * 2
Dim s As String * 1
Get #1, CMGs - 2, St
Get #1, DPBo + , s
For i = CMGs To DPBo Step 2
Put #1, i, St
Next
If (DPBo - CMGs) Mod 2 > 0 Then
Put #1, DPBo + 1, s
End If
MsgBox "文件解密成功......", , "提示"
Else
Dim MMs As String * 5
MMs = "DPB="""
Put #1, CMGs, MMs
MsgBox "对文件特殊加密成功......", , "提示"
End If
Close #1
End Function
```
4. 按下F5键运行代码。
5. 选择你想查看源码的源代Excel文件,并执行上述代码。目源码v码
6. 代码执行成功后,源代再次按下Alt + F键进入VBA编辑器,目源码v码你应该能够看到该Excel文件的源代VBA源码了。
目源码v码夜袭者源码50级源码