PC Review


Reply
Thread Tools Rate Thread

How does Excel references a cell?

 
 
Vitaly
Guest
Posts: n/a
 
      19th Dec 2008
Hi all,

I'm using a windows forms control that is very similar to Excel, but it's
written completely in managed code.

What I need to do is to reference a cell from outside the control. I need to
uniquely identify a cell. I see one approach now - using named ranges. So the
reference to a cell will be composed of a workbook file name and a named
cell. But if a user modify "the name of the named cell" the approach will not
work.

So, I'm wondering how does Excel references a cells, keeping in mind, that
the referenced cell can still be moved and the link should not be broken.

Thanks,
Vitaly
 
Reply With Quote
 
 
 
 
Peter T
Guest
Posts: n/a
 
      19th Dec 2008
Programmatically you can hide the name, that would prevent most users from
seeing and changing it. Another way would be with a simple cell formula on
an xlVeryHidden sheet, eg =Sheet1!A13. I can't think of any other way to
"track" a cell.

Note with either method, if the row or column containing the referenced cell
is deleted you will get a #REF! error

Regards,
Peter T

"Vitaly" <(E-Mail Removed)> wrote in message
news:C6192368-A73C-4C0C-9F52-(E-Mail Removed)...
> Hi all,
>
> I'm using a windows forms control that is very similar to Excel, but it's
> written completely in managed code.
>
> What I need to do is to reference a cell from outside the control. I need
> to
> uniquely identify a cell. I see one approach now - using named ranges. So
> the
> reference to a cell will be composed of a workbook file name and a named
> cell. But if a user modify "the name of the named cell" the approach will
> not
> work.
>
> So, I'm wondering how does Excel references a cells, keeping in mind, that
> the referenced cell can still be moved and the link should not be broken.
>
> Thanks,
> Vitaly



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Absolute Cell References in Excel Merlyn Microsoft Excel Misc 1 8th Jun 2009 03:50 PM
convert relative cell references to absolute cell references via amacro? Dave F Microsoft Excel Misc 1 15th May 2008 04:43 PM
how do i sum if in two different cell references - Excel =?Utf-8?B?Ymxha2U3?= Microsoft Excel Worksheet Functions 1 9th May 2007 08:28 PM
Excel Cell References are different to normal =?Utf-8?B?RGlnZ3N5?= Microsoft Excel Worksheet Functions 1 5th Apr 2006 11:49 AM
cell references in excel =?Utf-8?B?UGF1bGEgRm94?= Microsoft Excel Misc 2 11th Oct 2004 06:39 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:01 AM.