フィルターのクリア

Info

この質問は閉じられています。 編集または回答するには再度開いてください。

Please provide example of how to call MWInitAppl​icationWit​hMCROption​s from Access VBA.

1 回表示 (過去 30 日間)
John Robinson
John Robinson 2019 年 2 月 19 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
Please provide example of how to call MWInitApplicationWithMCROptions from Access VBA. The documentation implies to call it as Call MWInitApplicationWithMCROptions(Empty)
but this throws run-time error 424 Object required
Option Compare Database
Option Explicit
Public gMagicDemo As magicdemo.magicdemoclass
Public gMCUtil As MWComUtil.MWUtil
Sub test()
Dim y As Variant
If gMCUtil Is Nothing Then
Set gMCUtil = New MWUtil
Call gMCUtil.MWInitApplicationWithMCROptions(Empty)
End If
If gMagicDemo Is Nothing Then
Set gMagicDemo = New magicdemoclass
End If
Call gMagicDemo.makesquare(1, y, 5)
End Sub

回答 (0 件)

この質問は閉じられています。

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by