vba
The UK's Number 1 for Microsoft Office Training Add this page to your favourites/bookmarksBookmark page
 
View printable version of pagePrintable version
Plus One Google
Customer: Sign in
Delegate: Sign in
Trainer: Log in

Forum home » Delegate support and help forum » Microsoft Access VBA Training and help » VBA

VBA

resolvedResolved · Low Priority · Version 2003

replyReply Thu 5 Feb 2009, 16:29Delegate Emily said...

Emily has attended:
Access VBA course

VBA

How do you automate actions as soon as you open up the database? For instance - prompting the user as soon as they open the DB to enter their name.

For upcoming training course dates see: Pricing & availability

replyReply Fri 20 Mar 2009, 14:39Trainer Stephen said...

RE: VBA

Hi Emily

Thank you for your question

Apologies for the delay in replying which was caused by a large volume of posts on the forum

The best solution to this problem is to create the function that you want to run. Then create a Macro called autoexec. This macro has a single command RunCode, and you enter the function name as a parameter of that command.

The autoexec macro will automatically run when the database opens

Regards

Stephen

Fri 27 Mar 2009: Automatically marked as resolved.

 

Please browse our web site to find out more about
microsoft-access-courses and other Microsoft training courses.

Access tip:

How To Display An '&' In A Label In A Form

To have your label display a sentence with an &(ampersand) in it, like Fox & Hound simply type it as:

Fox && Hound

View all Access hints and tips


Microsoft Certified Partner Accredited Training Provider: Institute of IT Training Institute of Leadership and Management - Certified Courses Security Seal verified by visa, mastercard securecard