raghavcacs
Board Regular
- Joined
- Mar 13, 2009
- Messages
- 84
Hi!
When I am trying to update the below formula in excel cell through VBA, it is throwing out an error
Range("B" & c).Text = "=(GETPIVOTDATA(" & " Actuals" & ",$A$6))/2"
but in the range given , the above formula is pasted without quotes for the word Actuals in excel which needs to be there as per the syntax of Getpivot table.
Can anybody help me how can i do it in Excel VBA?
When I am trying to update the below formula in excel cell through VBA, it is throwing out an error
Range("B" & c).Text = "=(GETPIVOTDATA(" & " Actuals" & ",$A$6))/2"
but in the range given , the above formula is pasted without quotes for the word Actuals in excel which needs to be there as per the syntax of Getpivot table.
Can anybody help me how can i do it in Excel VBA?