I am trying to write code that will send data to TM1 based on selections in a userform. I want to send the word "term" or "TR" based on the selection box in the userform. I tried the syntax
Application.Run ("DBSS",cell reference for the word "term",cube,book,........)
Is that the correct syntax?
Using VBA Application.run "DBSS"
-
- Posts: 2
- Joined: Fri Oct 26, 2012 2:53 pm
- OLAP Product: not sure
- Version: 9.5.1
- Excel Version: 2007
Using VBA Application.run "DBSS"
Debra Hall
Sage
Mgr, Finance Operations
Sage
Mgr, Finance Operations
- qml
- MVP
- Posts: 1098
- Joined: Mon Feb 01, 2010 1:01 pm
- OLAP Product: TM1 / Planning Analytics
- Version: 2.0.9 and all previous
- Excel Version: 2007 - 2016
- Location: London, UK, Europe
Re: Using VBA Application.run "DBSS"
Welcome to the forum.
I suspect a problem with the part >>cell reference for the word "term"<<. It's not entirely clear how this translates to your actual VBA code, but the following example might give you an idea of what should work.
I suspect a problem with the part >>cell reference for the word "term"<<. It's not entirely clear how this translates to your actual VBA code, but the following example might give you an idea of what should work.
Code: Select all
Dim strValueToSend As String
strValueToSend = MyUserForm.MyComboBox.Value
Application.Run ("DBSS",strValueToSend,"cube","element1",...)
Kamil Arendt
-
- Posts: 2
- Joined: Fri Oct 26, 2012 2:53 pm
- OLAP Product: not sure
- Version: 9.5.1
- Excel Version: 2007
Re: Using VBA Application.run "DBSS"
That is what I was looking for.
Thanks
Thanks
Debra Hall
Sage
Mgr, Finance Operations
Sage
Mgr, Finance Operations