Info
La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.
Please provide example of how to call MWInitApplicationWithMCROptions from Access VBA.
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (0)
La pregunta está cerrada.
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!