Calling an access Macro from a VB.NET application - Very Urgent

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Sen K via .NET 247

    Calling an access Macro from a VB.NET application - Very Urgent

    (Type your message here)
    Hi,

    Any help is appreciated.

    I have a situation wherein i need to compact access db after somebusiness logic through VB.NET.I've written a function in VBA tocompact the database and i am calling that function in AccessMacro, and if i run that access macro in the backend, itsworking fine.But when i tried to call that access macro fromVB.NET code,i'm not getting any errors, but that macro is notworking. I'm calling that access macro likeaccess.docm d.runmacro "MACRONAME" . How to call an access macroor a VBA function in VB.NET code?.

    Thanks in advance.
    --------------------------------
    From: Sen K

    -----------------------
    Posted by a user from .NET 247 (http://www.dotnet247.com/)

    <Id>z5VkjrEovE6 MethqjzaKuw==</Id>
  • Cor Ligthert

    #2
    Re: Calling an access Macro from a VB.NET application - Very Urgent

    Hi Sen,

    Did you already look here?



    I think when this goes this is much easier.

    I hope this helps?

    Cor


    Comment

    Working...