Click here to Skip to main content
15,886,026 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have a VBA code for manipulating the sheets of the excel workbook.
I want to run this code from Python.

How can I do this? Are there any good libraries in Python for VBA code.
Please can anyone provide me some good examples to start with.

Thanks!
Posted

1 solution

Why, why those VBA scripts? If you need to manipulate Excepl workbooks with Python, use Python. There is a whole site dedicated to controlling Excel documents with Python: http://www.python-excel.org[^].

—SA
 
Share this answer
 
Comments
Maciej Los 8-Jul-14 2:38am    
Good idea!
+5!
nischalinn 8-Jul-14 4:12am    
Thank You for the solution Sergey Alexandrovich .
But my project requirement is to run VBA from Python and test the speed of the project.
Thanks!!!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900