Friday, December 10, 2010

how to port Excel data to GH


original source link

Dim xlApp As Object
''Grab a running instance of Excel
xlApp = System.Runtime.InteropServices.Marshal.GetActiveObject("Excel.Application")

''send volume and area to Excel
xlApp.range("B12").Value = volume
xlApp.range("B13").Value = area

No comments:

Post a Comment