+ Reply to Thread
Results 1 to 2 of 2

Running excel vba code from inside access vba code

  1. #1
    Registered User
    Join Date
    01-19-2010
    Location
    Antwerp,Belgium
    MS-Off Ver
    Excel 2003
    Posts
    16

    Running excel vba code from inside access vba code

    Hello,

    I have an access program connected to a large database. The access program calls an excel file and performs some calculations and saves the results in the access database.

    I am trying to automate this process and was wondering how I can call from within the access vba, a vba-routine that is connected to the excel file.

    The following vba code inside Access opens the excel file
    Please Login or Register  to view this content.
    I would like to call the excel subroutine "MyRoutine" from inside the same block of Access code. Is this possible?

    Thank you,
    Lanox
    Last edited by Lanox; 08-31-2011 at 09:12 AM.

  2. #2
    Registered User
    Join Date
    01-19-2010
    Location
    Antwerp,Belgium
    MS-Off Ver
    Excel 2003
    Posts
    16

    Re: Running excel vba code from inside access vba code

    Found the solution myself:

    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1