ChDir ThisWorkbook.Path
ThisWorkbook.Sheets("
Cholesky").Cells(1).CurrentRegion.Copy
With GetObject("New:{1C3B4210-F441-11CE-B9EA-00AA006B1A69}")
.GetFromClipboard
CreateObject("scripting.filesystemobject").createtextfile(ThisWorkbook.Path &"\corr.csv").write Replace(Replace(.gettext, ",", "."), vbTab, ",")
End With
Application.CutCopyMode = 0
CreateObject("wscript.shell").Run "
cholesky.py corr.csv", 0, -1
ThisWorkbook.Sheets("
Python").QueryTables(1).Refresh 0