Getting reference of an excel cell from other sheet

S

shambhu sau

I am trying to access excel functionalities/data using VSTO from C#.NET.

I have used a cell reference in another cell of different sheet. I can get
the information of a cell, which is referred in other sheet, manually using
formula auditing tools. Now I want to get the same with VSTO coding in C#.NET.

Actually I want to display programmatically in C#.NET a message about the
cell, in which the reference has been used when trying to delete or modify
the cell, which has been referred.

As for example: cell B5 of Sheet2 has used the reference of cell A3 of
Sheet1 (formula of Cell B5 of Sheet2 = Sheet1!$A$3.). Now if I want to modify
or delete the cell A3 of sheet1 I want to see a message like "This cell is
being used by Sheet!$B$5".
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top