APPENDIX
VBA Statements and Functions Reference
This appendix contains a complete listing of all Visual Basic for Applications (VBA) statements (Table A.1) and built-in functions (Table A.2). For details, consult Excel's online help.
TABLE A.1 Summary of VBA Statements
| Statement | Action | 
| AppActivate | Activates an application window | 
| Beep | Sounds a tone through the computer's speaker | 
| Call | Transfers control to another procedure | 
| ChDir | Changes the current directory | 
| ChDrive | Changes the current drive | 
| Close | Closes a text file | 
| Const | Declares a constant value | 
| Date | Sets the current system date | 
| Declare | Declares a reference to an external procedure in a Dynamic Link Library (DLL) | 
| DefBool | Sets the default data type to Booleanfor variables that begin with specified letters | 
| DefByte | Sets the default data type to Bytefor variables that begin with specified letters | 
| DefCur | Sets the default data type to Currencyfor variables that begin with specified... | 
 
                                             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
     
         
         
                 
                 
                