Why doesn't code work in VB.net, but works in VBA; GetObject

后端 未结 3 1509
梦谈多话
梦谈多话 2021-01-22 14:38

VBA code works great:

Sub testVBA()

    Dim wb As Object \' Lotus123.Document
    Set wb = GetObject(\"S:\\Temp\\T\\0375D.WK3\", \"Lotus123.Workbook\")

End Sub         


        
3条回答
  •  夕颜
    夕颜 (楼主)
    2021-01-22 15:08

    Load the file into an Excel workbook. It should be able to convert the lotus123 workbook on the fly.

提交回复
热议问题