View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
mithu mithu is offline
external usenet poster
 
Posts: 40
Default 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.