Re: Call VBA procedures from VB6 DLL
- From: v-phuang@xxxxxxxxxxxxxxxxxxxx ("Peter Huang" [MSFT])
- Date: Tue, 12 Jul 2005 08:05:29 GMT
Hi
Thanks for your quickly reply!
Here is my test code for your reference.
[VBA Macro]
Sub MyTestMacro()
Dim oVB6 As New TestVBA.CallVBAObj
Dim oVBA As New MyVBAClass
oVB6.TestCallVBA oVBA
End Sub
[VBA Class]
Public Function Test() As String
Test = "Hello"
End Function
[VB6 Class]
Public Sub TestCallVBA(obj As Object)
MsgBox obj.Test
End Sub
Best regards,
Peter Huang
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
.
- References:
- Call VBA procedures from VB6 DLL
- From: Paul Oulton
- Re: Call VBA procedures from VB6 DLL
- From: Tushar Mehta
- Re: Call VBA procedures from VB6 DLL
- From: Paul Oulton
- Call VBA procedures from VB6 DLL
- Prev by Date: Re: Only execute Macro if Doc Template is XX or YY
- Next by Date: MS Word Viewer integration into a VB application
- Previous by thread: Re: Call VBA procedures from VB6 DLL
- Next by thread: Re: Call VBA procedures from VB6 DLL
- Index(es):
Relevant Pages
|