Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 21
Default How can I run an access macro from excel?

In Excell 2003 I have several macros that pull data from and access data
base. This is fine except I have to run a macro in access to update that data
base first. Is there a way to run the access macro from within excel with an
excel macro?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 812
Default How can I run an access macro from excel?

http://groups.google.com/group/micro...3a0ded372f0cba

Hth,
Merjet

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 21
Default How can I run an access macro from excel?

WOW! you must have just been there. Thanks

"merjet" wrote:

http://groups.google.com/group/micro...3a0ded372f0cba

Hth,
Merjet


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default How can I run an access macro from excel?

D'oh! Sorry, realised I need to use the Quit action / method & obviously, it
now works! Having a dozy moment this morning I think!


Regards,

Steve


"Kamehameha" wrote:

Hi,

The code via this link is massively helpful, I've been able to use it to run
an access VBA Procedure from Excel and am v impressed with that. I do have an
issue though that I don't seem to be able to solve. When the Access macro has
completed, my code returns to Excel & I want to close the instance of Access
running on my machine - how do I do it?

a.Close

doesn't work and comes up with an error. (Where a is an Object in the code
representing Access). Any ideas?


--
Regards,

Steve


"RocketMan" wrote:

WOW! you must have just been there. Thanks

"merjet" wrote:

http://groups.google.com/group/micro...3a0ded372f0cba

Hth,
Merjet


Reply
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
Call an Access macro from an Excel macro Jason W Excel Discussion (Misc queries) 1 May 1st 08 08:33 PM
Run Access Macro from within Excel Thebeej Excel Programming 7 February 8th 07 11:15 PM
access macro to excel nowfal[_27_] Excel Programming 2 July 29th 05 10:19 AM
Trigger a Macro in MS Access from an Excel Macro? DonRetd Excel Programming 13 March 30th 05 09:52 PM
Launch Macro in Access via Macro running in Excel??? dgrant Excel Programming 1 September 24th 03 01:38 PM


All times are GMT +1. The time now is 04:42 AM.

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"