Hi - I need to convert some VBA code to Office Script to provide functionality to web users. any help is appreciated on how to access a cube and cubefields, but as an example, I have this code from VBA which adds a field called OppGeo into my Pivot Table called Analysis_Pvt. The field comes from the Table Opp_T
With ActiveSheet.PivotTables("Analysis_Pvt").CubeFields("[Opp_T].[OppGeo]")
.Orientation = xlRowField
End With
Is this possible in Office Script?
With ActiveSheet.PivotTables("Analysis_Pvt").CubeFields("[Opp_T].[OppGeo]")
.Orientation = xlRowField
End With
Is this possible in Office Script?