Closed Greedquest closed 1 year ago
Option Explicit Private Sub CallMe(Optional ByRef name As String) name = "Hello " & name & "!" MsgBox name End Sub Sub t() With vbInvoke.GetExtendedModuleAccessor("Module1", ThisWorkbook.VBProject) .CallMe "World" End With End Sub
Use unit tests