?? module1.bas
字號:
Attribute VB_Name = "Module1"
'------------------------------------------------------------
'this sub displays the error message with it's Err code
'and prompts to show the Errors collection if it
'is a data access type error
'------------------------------------------------------------
Sub ShowError()
Dim sTmp As String
Screen.MousePointer = vbDefault
sTmp = "The following failure take place:" & gsNewLine & gsNewLine
'add the error string
sTmp = sTmp & Error & gsNewLine
'add the error number
sTmp = sTmp & gsNewLine & "Mis No.: " & Err
Beep
MsgBox sTmp
End Sub
'------------------------------------------------------------
'this sub sets the HourGlass icon for the mouse
'------------------------------------------------------------
Sub SetHourglass()
DoEvents 'cause forms to repaint before going on
Screen.MousePointer = vbHourglass
End Sub
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -