A
Al Berg
I'm can't seem to figure out how to make a windows api cal from VBA inside
of outlook. For example if I put the following code into the onclick event
handler for a command button, I always get the error "Expected end of
statement Line No:1".
I'm using the forms script editor to enter this code;
Private Declare Function MessageBeep Lib "user32" Alias "MessageBeep" (ByVal
wType As Long) As Long
Sub CommandButton1_Click()
MsgBox "The active window is an explorer", vbInformation
End Sub
<<<
What am I don't wrong?
Thanks AB
of outlook. For example if I put the following code into the onclick event
handler for a command button, I always get the error "Expected end of
statement Line No:1".
I'm using the forms script editor to enter this code;
Private Declare Function MessageBeep Lib "user32" Alias "MessageBeep" (ByVal
wType As Long) As Long
Sub CommandButton1_Click()
MsgBox "The active window is an explorer", vbInformation
End Sub
<<<
What am I don't wrong?
Thanks AB