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

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

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -