ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   setting a variable equal to a value from a pivot table (https://www.excelbanter.com/excel-programming/388075-setting-variable-equal-value-pivot-table.html)

mithu

setting a variable equal to a value from a pivot table
 
anyone know how i can set a variable equal to a value from a pivot
table that is part of another sheet?

i tried

dim amount as double

amount = GETPIVOTDATA("YTD Total Units",[PERSONAL.XLSB]Sheet5!$A
$3,"SIEBELLINKID",sid,"CU_CODE","IPPRO")

but am getting an error. can someone please help me with this.



All times are GMT +1. The time now is 05:12 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com