Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Determining if a cell has an external reference ...

All,
Is there a way to determine whether a range (cell) has an external
reference (e.g. ='C:\Documents and Settings\M100C\My Documents
\Spreadsheets\[networth.xls]Sheet1'!$E$1) without parsing the Formula
property? I could not find any other range properties that seemed to
unambiguously indicate that the source of data was outside the
workbook.

If not, I have not considered all of the potential Formula property
values for various data sources, and if parsing is needed, is there a
specific string or characters (maybe[*]) that would indicate that the
range has an external reference.

Thanks,
Chris
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,986
Default Determining if a cell has an external reference ...

In Excel help search for " Display the relationships between formulas and
cells "



"M100C" wrote:

All,
Is there a way to determine whether a range (cell) has an external
reference (e.g. ='C:\Documents and Settings\M100C\My Documents
\Spreadsheets\[networth.xls]Sheet1'!$E$1) without parsing the Formula
property? I could not find any other range properties that seemed to
unambiguously indicate that the source of data was outside the
workbook.

If not, I have not considered all of the potential Formula property
values for various data sources, and if parsing is needed, is there a
specific string or characters (maybe[*]) that would indicate that the
range has an external reference.

Thanks,
Chris

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,986
Default Determining if a cell has an external reference ...

Using VBA:

ActiveCell.ShowPrecedents 'To show the arrows

ActiveSheet.ActiveCell.ShowPrecedents remove:=True


"M100C" wrote:

All,
Is there a way to determine whether a range (cell) has an external
reference (e.g. ='C:\Documents and Settings\M100C\My Documents
\Spreadsheets\[networth.xls]Sheet1'!$E$1) without parsing the Formula
property? I could not find any other range properties that seemed to
unambiguously indicate that the source of data was outside the
workbook.

If not, I have not considered all of the potential Formula property
values for various data sources, and if parsing is needed, is there a
specific string or characters (maybe[*]) that would indicate that the
range has an external reference.

Thanks,
Chris

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Reference to cell with external spreadsheet B Lane Excel Worksheet Functions 1 December 19th 09 08:09 PM
Using cell value to build external reference Todd Lietha Excel Discussion (Misc queries) 11 October 1st 07 05:50 PM
Using cell value to reference external worksheet? tsobiech Excel Worksheet Functions 2 March 6th 06 03:11 PM
External Cell Reference in VBA? mattsvai[_6_] Excel Programming 1 February 3rd 06 04:08 PM
dynamic external cell reference bg.itdept Excel Worksheet Functions 4 February 19th 05 03:15 AM


All times are GMT +1. The time now is 03:59 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"