Results 1 to 2 of 2

Thread: VBA (Access) question

  1. #1

    Thread Starter
    Member otherones's Avatar
    Join Date
    Jun 2002
    Location
    Milk Factory
    Posts
    59

    VBA (Access) question

    Is there anyway to write a function in Access VBA.. and then use VB 6 to call the function from with in the Access DB?


    Or a suppose a simpler way of asking this is: can I run a user defined Access Macro from VB6 (the macro would call the function writtin in VBA)?

    if so... how?
    CSC

  2. #2
    Evil Genius alex_read's Avatar
    Join Date
    May 2000
    Location
    Espoo, Finland
    Posts
    5,538
    Yes you can, with the good old DoCmd methods ...
    VB Code:
    1. docmd.OpenModule [i]Modulename, procedurename[/i]

    Please rate this post if it was useful for you!
    Please try to search before creating a new post,
    Please format code using [ code ][ /code ], and
    Post sample code, error details & problem details

Posting Permissions

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



Click Here to Expand Forum to Full Width