Excel VBA code that use form in access, is it possible? (1 Viewer)

sparky23

New member
Local time
Today, 21:59
Joined
Feb 18, 2019
Messages
5
Hi,

I made a program in Access which has forms, tables, queries, macros and VBA code. The user need to choose multiple choices from dropdown lists in order to get the result.
My question is: Can I run macro in excel that "use in background" this form in access for me and print the result back in excel sheet?

Thank you.
 

Ranman256

Well-known member
Local time
Today, 15:59
Joined
Apr 9, 2015
Messages
4,337
Either run everything in access (w form) then export to excel,
or
In excel, build your own Excel form that does the same thing, and run the excel macro.
 

Solo712

Registered User.
Local time
Today, 15:59
Joined
Oct 19, 2012
Messages
828
Hi,

I made a program in Access which has forms, tables, queries, macros and VBA code. The user need to choose multiple choices from dropdown lists in order to get the result.
My question is: Can I run macro in excel that "use in background" this form in access for me and print the result back in excel sheet?

Thank you.

Sparky,
the technique I use for a task like this is create a template excel sheet, and then, after getting the user report parameters through multiple choices, dump the data via Access VBA into a copy of the template Excel sheet.

Best,
Jiri
 

Users who are viewing this thread

Top Bottom