By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
431,985 Members | 1,694 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 431,985 IT Pros & Developers. It's quick & easy.

calling VBA script from Python

P: 16
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!
May 24 '14 #1
Share this Question
Share on Google+
1 Reply


Expert 100+
P: 619
Use subprocess.call to run an external command. Note that it may require a shell=True option.
May 24 '14 #2

Post your reply

Sign in to post your reply or Sign up for a free account.