Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   TechHelp   Forums   Help   Contact   Merch   Join   Order   Logon  
 
Back to Excel Automation 3    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Query Help
Dylan Quinn 
     
2 years ago
This is great! Super easy to use and got it up and running, thank you!

I am trying to do something specific and am not sure where to look for help, I imagine its on the site somewhere but I can't think of it. How can I use VBA to export part of a table with a query? I know how to call the query to break items down by order, but am not sure how to use VBA to enter my parameter into the query to limit the results.

Thank you!
Dylan Quinn OP  @Reply  
     
2 years ago
I am not sure how it works, but I was able to stitch something together online. If anyone knows of a tech help covering this topic, that'd be great!

Set qdf = CurrentDb.QueryDefs("YOURQUERYNAME")

For Each prm In qdf.Parameters
    prm = OrderID
    Next prm
    
Set rs = qdf.OpenRecordset
Kevin Robertson  @Reply  
          
2 years ago
Richard introduces QueryDefs in Access Developer 37.
No Tech Help on this subject as yet.

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Excel Automation 3.
 

Next Unseen

 
New Feature: Comment Live View
 
 

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: 4/12/2026 9:16:17 PM. PLT: 1s