Horje
how to do error handling in access vba Code Example
how to do error handling in access vba
1 Sub|Function SomeName()
2     On Error GoTo Err_SomeName          ' Initialize error handling.
3     ' Code to do something here.
4 Exit_SomeName:                          ' Label to resume after error.
5     Exit Sub|Function                   ' Exit before error handler.
6 Err_SomeName:                           ' Label to jump to on error.
7     MsgBox Err.Number & Err.Description ' Place error handling here.
8     Resume Exit_SomeName                ' Pick up again and quit.
9 End Sub|Function




Vb

Related
excel formula for last non-empty cell in a column Code Example excel formula for last non-empty cell in a column Code Example
vba round number Code Example vba round number Code Example
vba reverse string Code Example vba reverse string Code Example
excel vba to lower case Code Example excel vba to lower case Code Example
if inputbox cancel vba Code Example if inputbox cancel vba Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
8