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
Post a Comment