Start a VBA Macro with PCE

Start a VBA Macro with PCE

How can I start a VBA Macro with PCE.
I have a thread with a If-Function. If this If-Function is true in the thread, a VBA Macro should start.
VBA Code:

Dim a
a=1
If a = 1 Then
Macro should start
End If


Can anyone help me with this problem??
Please.
Yours, Mr.K

This is a migrated post! Originally posted on 21.03.2008 by user mrk. Please be aware that information can be outdated.