Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

EXCEL 365 VBA GPIB制御時 No valid COM I/O resource available. set the I/O property to a valid COM I/O resource.

Win8.1,EXCEL 2016で動作していたVBAを,WIN10, EXCEL 365で動作させたところ

測定器に最初の制御した所で
 No valid COM I/O resource available. set the I/O property to a valid COM I/O resource.

となりました。

対応方法等ご存じでしょうか。

参考)

EXCEL 2016は VISA COM 5.11 Type Library

EXCEL 365は  VISA COM 7.1 Type Library

 

 

0 Kudos
Message 1 of 4
(4,246 Views)

Read on some other post that VBA 64-bit is not supported.

 

You need to use Excel 32-bit for VISA dll to work.

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
Message 2 of 4
(4,197 Views)

> No valid COM I/O resource available. set the I/O property to a valid COM I/O resource.

 

実際のコードを投稿してください。

 

> EXCEL 365は  VISA COM 7.1 Type Library

 

今回の件とは別ですが、Office 365版ExcelはバグによりVISAが使えなくなっていますので、最新版Excelだと動きません。

現時点で動作する最新バージョンは16.0.14326.20404です。

 

P.S.

ここは英語圏の掲示板です。

日本語で投稿する場合はこちらです。

0 Kudos
Message 3 of 4
(4,183 Views)

Thank you for your advice.

It is only for the downgrade of EXCEL..

0 Kudos
Message 4 of 4
(4,154 Views)