Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   TechHelp   Help   Contact   Merch   Join   Order   Logon   Forums   
 
Back to Open Form Module    Comments List
Upload Images | @Reply | Bookmark | Link | Email | Next Unseen |
Create a Macro Library or Macro Include File
Constance Britten 
      
18 days ago
Is there some way to create either a library of macros or else some kind of macro include file?

I was able to create a library containing the Open Form module and then add a reference to that library to the D62.02 database, but I also had to create a macro in the D62.02 database to call it.

I tried simply adding the macro to the library file that contained the Open Form module but the D62.02 database didn't pick it up.
Richard Rost  @Reply  
           
18 days ago
Yes, it's possible. You can put the code in your library file, but you can't call a macro in the library directly. You need to wrap the macro's action inside a public Function in the library, then create the small RunCode macro in each front-end database to call that function.

I spent all of Developer 63 and 64 covering library files and how to use them properly.
Constance Britten OP  @Reply  
      
18 days ago
Richard Thank you so much for your reply!

While we students are taking your courses we're working with a lot of databases, so I was trying to see if I could eliminate a "hazard to navigation" during the process of implementing this handy quick access toolbar button. That is, after IntelliSense didn't pick up the function name while I was creating the small RunCode macro in the D62.02 database, I was trying to avoid repeatedly tripping over my bad memory going forward.

Ah well, I'm sure I'll have "OpenCurrentFormModule()" memorized eventually. ;-)
Add a Reply Upload an Image
Next Unseen

 
 
What's This?

 

The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.
 

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Login
My Account
My Courses
Lost Password
Memberships
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Help
 
Customer Support
Web Site Tour
FAQs
TechHelp
Consulting Services
About
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
PCResale.NET
Order
 
Video Tutorials
Handbooks
Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Contact
 
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
[email protected]
Blog RSS Feed    YouTube Channel

LinkedIn
Copyright 2026 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 11/9/2026 12:09:28 AM. PLT: 0s