Run Access Macro from .net with passing Variable

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • fordraiders
    New Member
    • Jan 2007
    • 3

    Run Access Macro from .net with passing Variable

    vb.net 2003
    Access 2003
    I need to run a macro from vb.net in an access database.
    But the podule needs parameters passed to it..

    oAccess.Run(<ma cro>)
    But I need to pass 2 Variable strings?
    TableName and Ouput file destination
    "CatalogMsc " "C:\DM\Catalog_ DataMsc.xls"
    Thanks
    fordraiders
Working...