calling VBA script from Python

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nischalinn
    New Member
    • Mar 2014
    • 16

    calling VBA script from Python

    I need to run a VBA script from python.
    My VBA script just count the number of columns and number of rows in an excel sheet.
    I need to execute that VBA script from inside python. Is it possible?
    How can I do it?
    Thank You!
  • dwblas
    Recognized Expert Contributor
    • May 2008
    • 626

    #2
    Use subprocess.call to run an external command. Note that it may require a shell=True option.

    Comment

    Working...