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 -

php - Boolean search on database with 5 million rows, very slow -

css - Text drops down with smaller window -