Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

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

조회 수: 1 (최근 30일)
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