Skip to main content
Newcomer
May 15, 2023
Solved

Submitting Excel form to Onestream using VBA

  • May 15, 2023
  • 1 reply
  • 0 views

Hey all,

 

Since Onestream 6.6.0 there should be the option to trigger a Submit Workbook with VBA using SubmitSetXFFunctions. However, I can't get that to work. We're using Onestream 7.0 and the following VBA-code:

 

 

 

Sub SubmitWorkbookToOnestream()

  Set xfAddIn = Application.COMAddIns("OneStreamExcelAddIn")

  If Not xfAddIn Is Nothing Then

    If Not xfAddIn.Object Is Nothing Then
      Call xfAddIn.Object.SubmitSetXFFunctions
    End If

  End If

End Sub

 

 

 

 

If I run this I get an 'Object doesn't support this property or method' error. What am I doing wrong?

Best answer by JackLacava

Sorry, that was a typo in Release Notes. The actual function is called SubmitXFFunctions, if you search for it in online help you'll also get a working example.

1 reply

OneStream Employee
May 15, 2023

Sorry, that was a typo in Release Notes. The actual function is called SubmitXFFunctions, if you search for it in online help you'll also get a working example.

Newcomer
January 8, 2025

Is there a function to Submit Cube Views?