ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   identify if a CalculatedField is positive or negative on VBA (https://www.excelbanter.com/excel-programming/315435-identify-if-calculatedfield-positive-negative-vba.html)

FlavioYaura

identify if a CalculatedField is positive or negative on VBA
 
I want to check if a calculatedfield in a pivot table is positive or negative
,for me execute a macro.
example:
result = brought * sold --is the formula for this example.
if result < 0 then
do X
elseif result 0 then
do Y
else
do Z
end if



All times are GMT +1. The time now is 10:29 PM.

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