Hi, How I can get the formula of a particular cell in excel.
V VJR Well-Known Member Staff member Aug 16, 2018 #2 syed said: Hi, How I can get the formula of a particular cell in excel. Click to expand... syed, Make a copy of the 'Get Cell Value' action of the Excel VBO and in the new copy make the modifications as below Dim cellVal as String = GetInstance(handle).ActiveCell.Value Dim cellVal as String = GetInstance(handle).ActiveCell.Formula
syed said: Hi, How I can get the formula of a particular cell in excel. Click to expand... syed, Make a copy of the 'Get Cell Value' action of the Excel VBO and in the new copy make the modifications as below Dim cellVal as String = GetInstance(handle).ActiveCell.Value Dim cellVal as String = GetInstance(handle).ActiveCell.Formula
S subhash Member Apr 3, 2020 #3 Hi VJR, I tried the above code but it is not working. Could you please check. Regards,
G GatesV Member Aug 10, 2023 #5 Not sure what went wrong with subhash, but this is working perfectly on my side of things. Thanks @ VJR.
Not sure what went wrong with subhash, but this is working perfectly on my side of things. Thanks @ VJR.