AndrewKent
Well-known Member
- Joined
- Jul 26, 2006
- Messages
- 889
Hi folks,
Was wondering if anyone could help with a couple of issues I have passing data from Access to Excel. Firstly, I have written a function in Access VBA that allows me to return the maximum value from several fields for any given record. Now, I can extract data from Access to Excel by adding the SQL for my query to the VBA procedure in Excel.
The query won't work properly as the function is in Access, and I can't put the function into Excel as it won't work.
I want to know therefore is there a way to extract data from Access to Excel by "calling" a pre-built query. I also want to pass variables into this query.
Is this possible?
Andy
Was wondering if anyone could help with a couple of issues I have passing data from Access to Excel. Firstly, I have written a function in Access VBA that allows me to return the maximum value from several fields for any given record. Now, I can extract data from Access to Excel by adding the SQL for my query to the VBA procedure in Excel.
The query won't work properly as the function is in Access, and I can't put the function into Excel as it won't work.
I want to know therefore is there a way to extract data from Access to Excel by "calling" a pre-built query. I also want to pass variables into this query.
Is this possible?
Andy