BroHelp.me

How to call python script on excel vba?

Private Sub CommandButton1_Click()
ActiveWorkbook.Save
Dim path As String
path = Application.ActiveWorkbook.path
Call Shell("cmd /c cd " & path & " & python.exe -m python.main", vbNormalFocus)

End Sub

Random Articles

  • Shift register vhdl code
  • What is the smallest continent in the world?
  • Convet int to string in GDScript
  • Nor gate
  • Led blink using switch and timer 0 in assembly - 8051 C8051F020
BroHelp is provided without warranty of any kind. If you found any problem please contact us at [email protected]
BroHelp.me 2020 - 2021