Hello,
relative newbie to VBA, but I would imagine the following can be done. I have a workbook with a couple hundred worksheets, all identical in layout (templates for audit functions). witin the tabs are formulas that assign a value to a data validation dropdown value, provding an audit score.
Formula reads as
=IF(H23="SAT",100,IF(H23="N/A",100,IF(H23="UNSAT",50,IF(H23="REC",70,IF(H23="SELECT",0)))))
I would like to change the "SAT" and "N/A" values from 100 to a different value (i.e. 95), thus changing the total score.
Is there a way to loop through the workbook and find/replace the formula or change a portion of the formula? Can VBA treat a formula like a test string?
thank you
relative newbie to VBA, but I would imagine the following can be done. I have a workbook with a couple hundred worksheets, all identical in layout (templates for audit functions). witin the tabs are formulas that assign a value to a data validation dropdown value, provding an audit score.
Formula reads as
=IF(H23="SAT",100,IF(H23="N/A",100,IF(H23="UNSAT",50,IF(H23="REC",70,IF(H23="SELECT",0)))))
I would like to change the "SAT" and "N/A" values from 100 to a different value (i.e. 95), thus changing the total score.
Is there a way to loop through the workbook and find/replace the formula or change a portion of the formula? Can VBA treat a formula like a test string?
thank you