Advertisement
msfz751

Untitled

Oct 20th, 2014
258
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Function RecalcDN(sPyModule As String)
  2. ' Calls DataNitro to run Python module specified
  3.    Application.COMAddIns("DataNitro.DataNitro").Object.RunScript (sPyModule)
  4. End Function
  5. Function RunMeDN(pymod As String)
  6. ' Same as above but with another name
  7.    RecalcDN (pymod)
  8. End Function
  9. Sub recalc()
  10.     Application.COMAddIns("DataNitro.DataNitro").Object.RunScript ("major_minor_demo2.py")
  11. End Sub
  12. Function RunMe()
  13.     recalc
  14. End Function
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement