gojets1721
Registered User.
- Local time
- Today, 12:45
- Joined
- Jun 11, 2019
- Messages
- 430
I have a query which selects 30 random records from my table. I want to be able to export this random listing to both a PDF file and an excel file.
The issue is I'm not sure how to use VBA to export this listing to PDF & excel, and have the random records on both be the same.
My query is:
Suggestions on what to do to export this query to both PDF and excel and have the random records be the same?
The issue is I'm not sure how to use VBA to export this listing to PDF & excel, and have the random records on both be the same.
My query is:
Code:
SELECT TOP 30 *
FROM tblEmployees
ORDER BY EmployeeName;
Suggestions on what to do to export this query to both PDF and excel and have the random records be the same?