LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default Opening an Access Database and running procedure Via Excel VBA

I have an access database that has several tables contained withn, a series
of delete and append queries require running on the data before it is
suitable for analysis and retrieval into excel. I have coded the ADO
retrieval from the database, and this is working fine. I have also coded the
delete routines to run from Excel, but I can't get the INSERT sql statements
to work, they through out messages regarding the subquery that is a union
query.

I think my options are to either run the saved queries in the access
database via ADo, or somehow either run a Access macro or VBA procedure to
run these queries. I have coded in Access a simple VBA routine that runs the
queries in the correct order.

Can anybody tell me how I can get Excel to run the VBA procedure in my
database, or alternatively how I can run the append queries via ADO?

thanks,
Paul
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Update Excel Database via Access Main Database with a script Finnbar New Users to Excel 2 November 3rd 08 07:24 PM
Opening Access database davethewelder Excel Discussion (Misc queries) 0 March 17th 08 05:17 PM
opening access database using macro rtphilips New Users to Excel 3 October 20th 05 05:11 PM
opening and viewing an access-database Peer Excel Programming 2 July 28th 04 07:38 PM
Problems opening Access database from Excel VBA Jan[_11_] Excel Programming 3 June 2nd 04 12:08 PM


All times are GMT +1. The time now is 11:50 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"