Quantcast
Channel: MicroStation Programming Forum - Recent Threads
Viewing all articles
Browse latest Browse all 7260

Accessing Excel sheets via Microstation Connect (on Windows 11)

$
0
0

Hi. Up until recently, I could access Excel sheets by using the snippet below, no problem (Windows 10). I had to change my laptop recently and it came with Windows 11 installed. And all of the sudden, the same script throws this error :


Run-time error '-2147319765 (8002802b)':
Automation error.
Element not found.

I made sure to have all the necessary (and probably more) references on:

Snippet:

Dim oExcel As New Excel.Application
Dim oWorkbook As Excel.Workbook

Set oWorkbook = oExcel.Workbooks.Open("C:\Users\Paul.Mitache\test.xlsx")

Mircrostation version: MicroStation CONNECT Edition - Version 10.17.01.62

Any help would be greatly appreciated. Regards,

Paul


Viewing all articles
Browse latest Browse all 7260

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>