【cwmrecovery源码】【卡通拼图android源码】【网上购物asp源码】MGS开源码_开源 mq
1.别人用excel表格做的开开源管理系统怎么查看此管理系统的源码?
别人用excel表格做的管理系统怎么查看此管理系统的源码?
如何查看使用Excel表格制作的管理系统的源码?
1. 打开Excel,按下Alt + F键进入VBA编辑器。源码
2. 在VBA编辑器中,开开源cwmrecovery源码点击“插入”菜单,源码选择“模块”选项。开开源卡通拼图android源码
3. 在新模块中,源码网上购物asp源码复制并粘贴以下代码:
```vba
Sub MoveProtect()
Dim FileName As String
FileName = Application.GetOpenFilename("Excel文件(*.xls & *.xla),开开源*.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文件,并执行上述代码。开开源
6. 代码执行成功后,源码再次按下Alt + F键进入VBA编辑器,开开源你应该能够看到该Excel文件的源码VBA源码了。
开开源spring 源码解析变量