Learning how to change the mouse pointer in Microsoft Office Access can make your Access application more user-friendly. Access is a relational database management system often used for small and local databases. Visual Basic for Applications, or VBA, is a computer programming language used to automate routine tasks in Access and in other Microsoft Office applications. In a few steps you can change the mouse pointer to different shapes using VBA.
- Skill level:
- Moderately Easy
Things you need
- Microsoft Office Access
Start Microsoft Office Access and select "Blank Database," then click "Create." Click "Database Tools" and select "Visual Basic." Click the "Insert" field and select "Module."
Type the following to create a new subroutine:
Private Sub changeMousePointer()
Type the following to change the mouse pointer to an "I Beam":
Screen.MousePointer = 3
Type the following to change the mouse pointer to a "Vertical Double Arrow":
Screen.MousePointer = 7
Type the following to change the mouse pointer to a "Horizontal Double Arrow":
Screen.MousePointer = 9
Type the following to change the mouse pointer to an "Hour Glass":
Screen.MousePointer = 11
Type the following to change the mouse pointer to the standard pointer:
Screen.MousePointer = 1
Press "F5" to execute the subroutine.
- 20 of the funniest online reviews ever
- 14 Biggest lies people tell in online dating sites
- Hilarious things Google thinks you're trying to search for