Is it possible to call a VBA module from command line script? RRS feed

  • Question

  • Is it possible to call a VBA module (found within a MS Access database) from a command line script?
    Friday, December 23, 2011 10:30 PM


All replies

  • Pretty sure you can do a vb SCRIPT from a batch file...

    calling it inside your batch would look something like this:

    cscript //nologo <filename>.vbs

    If you want something you've never had, you need to do something you've never done.
    Friday, December 23, 2011 10:35 PM
  • I don't know for sure But I do know this a .NET forum and not a VBA forum.


    "MODERN PROGRAMMING is deficient in elementary ways BECAUSE of problems INTRODUCED by MODERN PROGRAMMING." Me
    Friday, December 23, 2011 11:13 PM
  • As you cannot do that with the commandline in a Dos Box you cannot, otherwise you simply can use the process start.

    • Proposed as answer by Mike Feng Tuesday, December 27, 2011 10:31 AM
    • Marked as answer by Mike Feng Tuesday, January 3, 2012 1:05 PM
    Saturday, December 24, 2011 7:50 AM
  • Hello Moderator,

    Could you please delete this thread? It isn't particularly relevant to the forum topic and continues to show up in search results for my name years later.

    Wednesday, December 24, 2014 4:10 AM