excel - MSG Box display workbook -


i have easy question whatever reason can´t find online. want msgbox return me specific cells apply set of conditions. each cell want workbook cell in.

msgbox ("error: " & cl.address & " " & cl.value & " " & thisworkbook.name) 

is have in code. returning name of reporting workbook , not actual error located.

please help

in situation should go way:

msgbox ("error: " & cl.address & " " & cl.value & " " & cl.parent.parent.name) 

the final part use hierarchy of excel object model- cell >> sheet >> workbook...


Comments

Popular posts from this blog

php - cannot display multiple markers in google maps v3 from traceroute result -

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -