Discussion Locked

MS ACCESS VBA

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I need to add code logic to MS ACCESS. Can I just install VISUAL BASIC and follow that language? Or is VBA its own language and have its own set of rules and link editor?

5 replies

by peyison

VBA is built in to MS Access. You can add VBA code to a form, or to a spearate code module. From the Access database window, choose Modules, then select new. You're now in the VBA editor.

by articulated mandible

Assuming you are using a relatively recent version of Access, it already comes with a version of Visual Basic (VBA - Visual Basic for Applications) built-in. From a coding standpoint, it's similar to the stand alone versions of Visual basic.

As for installing VB seperately, I would tell you to be careful - apparently the installation of VB6 alters one or more files that are also used by VBA. I have a number of relatively small standalone MS Access applications that were built with a bunch of internal VBA code, and after installing VB6 on my desktop, not a single one of them would run on that box. (Happily, uninstalling it fixed the problem).
I hope this helps

Ken

This discussion is closed to new replies.