ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Getting reference of an excel cell from other sheet (https://www.excelbanter.com/excel-programming/366938-getting-reference-excel-cell-other-sheet.html)

shambhu sau

Getting reference of an excel cell from other sheet
 
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".



All times are GMT +1. The time now is 05:44 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com