How can I control the "VUSLICE" return values in the Excel

Post Reply
Forrest
Posts: 2
Joined: Wed Aug 19, 2009 5:43 am
OLAP Product: Cognos BI, Cognos TM1
Version: Cognos8
Excel Version: excel 2007

How can I control the "VUSLICE" return values in the Excel

Post by Forrest »

hi all.

i am the new face on the Cognos TM1. there are some questions in my work.

Q1: How can i control the "VUSLICE" Return Values start point in the Excel, it allways start from "A1" Cell.
Q2: How can i get the caculate value from the excel without use a VBA macro.

thanks.
Lukas Meyer
Posts: 51
Joined: Thu Jul 24, 2008 6:14 am

Re: How can I control the "VUSLICE" return values in the Excel

Post by Lukas Meyer »

Hello,

Q1: You can not change the start point. However, you can create a new workbook/sheet, call the function, use the ActiveSheet.UsedRange function to get whatever was produced and copy it somewhere else you like.

Q2: I don't get this. You'll need to explain a bite further - at least for me. (Like where do you want to have what data)
Forrest
Posts: 2
Joined: Wed Aug 19, 2009 5:43 am
OLAP Product: Cognos BI, Cognos TM1
Version: Cognos8
Excel Version: excel 2007

Re: How can I control the "VUSLICE" return values in the Excel

Post by Forrest »

hi Lukas Meyer, thanks

about Q2:
At a Excel file i can carete a Command Button(ActionX Control Button) and coding in the button action use the "VUSLICE" macro get the caculate result . with out this way , hao can i get the caculate result from a Excel.

thanks.
lotsaram
MVP
Posts: 3698
Joined: Fri Mar 13, 2009 11:14 am
OLAP Product: TableManager1
Version: PA 2.0.x
Excel Version: Office 365
Location: Switzerland

Re: How can I control the "VUSLICE" return values in the Excel

Post by lotsaram »

Have you read the user guide manual? Any of it? I suggest you do.

You can slice a view out of the cube viewer, or even more simply you can have a report using a previously sliced out view with DBRW formulas (with whatever formatting you desire) as an Excel report and simply hit the Shift + F9 keys. Yes it is as simple as that, no really it is ;)
Post Reply