|
-
Jan 31st, 2006, 09:08 AM
#1
Thread Starter
Fanatic Member
View VBA Code in Microsoft Access
How do you get to the VBA code running in Microsoft Access?
I have just inherited a new project that was written by someone else in Access, and when I go into what I believe is the code (I click VIEW then CODE), only a few lines show up in one module. Would it be anywhere else because I know for a fact there is more than one module?
I know this Access database is setup all screwy. The original developer has some sort of system where a whole bunch of "copies" of the database write to one main file. If that makes any sense to anyone could you please clarify that as well.
I wonder why he didn't just write the whole thing in VB with an Access back-end. This whole damn thing is written in Access and it pisses me off!
-
Jan 31st, 2006, 09:11 AM
#2
Re: View VBA Code in Microsoft Access
Access VBA question moved to Office Development
-
Jan 31st, 2006, 09:31 AM
#3
Re: View VBA Code in Microsoft Access
Dumb question but... Have you looked for Macros within the db? (as opposed to Modules)
Declan
Don't forget to mark your Thread as resolved.
Take a moment to rate posts that you think are helpful 
-
Jan 31st, 2006, 09:36 AM
#4
Re: View VBA Code in Microsoft Access
 Originally Posted by The_Grudge
I know this Access database is setup all screwy. The original developer has some sort of system where a whole bunch of "copies" of the database write to one main file. If that makes any sense to anyone could you please clarify that as well.
Humm...sounds like he may have used the 'Database Splitter'.
If this is the case then you would have two seperate DBs. One with the tables (and very little code) and one with the Queries, Forms and Reports(with lots of code). You may be only looking at half the application if you're viewing the backend (tables) database.
Declan
Don't forget to mark your Thread as resolved.
Take a moment to rate posts that you think are helpful 
-
Jan 31st, 2006, 12:50 PM
#5
Frenzied Member
Re: View VBA Code in Microsoft Access
Also try View -> Project Explorer to get a treeview of all modules in the project when in the VBA IDE. Some might simply be closed.
Tengo mas preguntas que contestas
-
Jan 31st, 2006, 01:29 PM
#6
Re: View VBA Code in Microsoft Access
In your main acccess db press Alt+F11 to open the VBA IDE. This one should have most of your code but your other linked dbs will have some code which you can access the same way if you open each db and view the VBA IDE.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|