Planning Analytics

Planning Analytics

Get AI-infused integrated business planning

 View Only
  • 1.  PAX UnlinkBook Function

    Posted 01/14/20 08:53 AM
    Edited by System Admin 01/20/23 04:10 PM
    Hi together,

    I tried to use the function "UnlinkBook" from the PAX API with VBA in my ExcelSheet. I tried the following Syntax:
    Application.COMAddIns("CognosOffice12.Connect").Object.AutomationServer.Application("COR", "1.1").UnlinkBook

    Unfortunately I`m not able to Suppress the IBM Message for this function. I tried the following:

    Sub Suppress Message()
    CognosOfficeAutomationObject.SuppressMessages True
    End Sub

    But it not work. Is it possible to use the function with suppressed messages? Thanks in advance for help!

    Best regards
    Daniel

    ------------------------------
    Daniel
    ------------------------------
    #PlanningAnalyticswithWatson