Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Importing / Linking / September 2005

Tip: Looking for answers? Try searching our database.

Sending Access data to Excel

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
CyndyG - 12 Sep 2005 05:29 GMT
How do I write the vba code for the following.
My query(qryCIO)  has a parameter: Enter Start Date and Enter End Date.
After the dates are entered by the user I would like to export the the data
to Excel using the TransferSpreadsheet method,but need the saveas dialog box
to prompt the user.

I used the link from this group to find the API function call of
ahtCommonFileOpenSave,but where does it fit with the TransferSpreadsheet
method.
Ken Snell [MVP] - 12 Sep 2005 14:02 GMT
You put the call to the API function as the argument for the "export to
filename" argument in the TransferSpreadsheet action.

Signature

       Ken Snell
<MS ACCESS MVP>

> How do I write the vba code for the following.
> My query(qryCIO)  has a parameter: Enter Start Date and Enter End Date.
[quoted text clipped - 7 lines]
> ahtCommonFileOpenSave,but where does it fit with the TransferSpreadsheet
> method.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.