Excel VBA TAPI to blind transfer extension RRS feed

  • Question

  • I have dialed a number using tapirequestmakecall function using Excel VBA.

    I have to transfer the connected call to some other number.

    How to do this? Am using TAPI 2.2. Any help would be highly appreciated..

    Declare Function tapiRequestMakeCall Lib "tapi32.dll" _
    (ByVal stNumber As String, ByVal stDummy1 As String, _
    ByVal stDummy2 As String, ByVal stDummy3 As String) As Long
    Sub DialNumber(Number As String)
    Dim lngStatus As Long
     lngStatus = tapiRequestMakeCall(Number, "", "", "")
     If lngStatus < 0 Then
      MsgBox "Failed to dial number " & Number, vbExclamation
     End If
    End Sub
    Friday, March 23, 2018 4:01 AM

All replies

  • Hello hmak.soft,

    This forum(Excel for Developers) is for development issues related to Excel Object Model and I think your issue is move related to using "tapi32.dll" in Visual Basic Application. So I would move the thread to Visual Basic for Application forum. 

    Thanks for understanding.

    Best Regards,


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact

    Monday, March 26, 2018 8:07 AM