Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8581

Re: Set macro SetActiveConnection

$
0
0

Hi Rosanna,

 

First of all you need to "build" your connection link, for that update the values in bold.

 

_FPM_BPCNW10_[{your_server}:9014/sap/bpc/]_[{environment}]_[{model}]_[false]

 

Tip: To get the values you can use epm formulas and concatenate them:

A1Fixed_FPM_BPCNW10_[
A2Formula=EPMServer()
A3Fixed]_[
A4Formula=EPMEnvDatabaseID()
A5Fixed]_[
A6FixedFINANCIALS
A7Fixed]_[false]

 

For the change connection basically use:

 

Sub test1()

   

    Dim EPM As New FPMXLClient.EPMAddInAutomation

   

    EPM.SetActiveConnection Sheet1, Range("A8").Value

   

End Sub

 

A8 is the cell with concatenated values.

 

Lucas


Viewing all articles
Browse latest Browse all 8581

Trending Articles