View Single Post
 
Old 07-22-2023, 04:46 AM
soroush.kalantari soroush.kalantari is offline Windows 10 Office 2016
Competent Performer
 
Join Date: Jun 2021
Posts: 124
soroush.kalantari is on a distinguished road
Default How to find “single cell result”of a relative defined name in a VBA code?

I am seeking a way to find the “single cell result” of relative defined names in VBA codes. (see the excel attachment in which the name “price” has been defined. (for example, if select G3 in a vba code and somehow separate the “price” in its formula, I am seeking a way to get “G1” which is the “single cell result” of price name in this cell. as the picture attachment shows, it can be achieved manually by formula/evaluate formula/step in/evaluate.)


Can you guide me on this issue?
Attached Images
File Type: png evaluate.formula.PNG (12.5 KB, 17 views)
Attached Files
File Type: xlsm relativedefinednames.xlsm (8.7 KB, 5 views)
Reply With Quote