Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,058
Default Formula references

Given a formula in a cell, is there a straight-forward way to list all the
cells (or ranges) to which the formula refers?
--
Gary's Student
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default Formula references

If they refer to only cells in the same sheet, you can use

msgbox activecell.DirectPrecedents.Address

also look at Precedents. but these will not return information on links to
other worksheets or external.

--
Regards,
Tom Ogilvy


"Gary''s Student" wrote:

Given a formula in a cell, is there a straight-forward way to list all the
cells (or ranges) to which the formula refers?
--
Gary's Student

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,058
Default Formula references

thanks
--
Gary''s Student


"Tom Ogilvy" wrote:

If they refer to only cells in the same sheet, you can use

msgbox activecell.DirectPrecedents.Address

also look at Precedents. but these will not return information on links to
other worksheets or external.

--
Regards,
Tom Ogilvy


"Gary''s Student" wrote:

Given a formula in a cell, is there a straight-forward way to list all the
cells (or ranges) to which the formula refers?
--
Gary's Student

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 575
Default Formula references

There's a routine that does this across sheets too in my XspandXL add-in if
you want to give it a try. It's on my site with a free trial.

Robin Hammond
www.enhanceddatasystems.com

"Gary''s Student" wrote in message
...
thanks
--
Gary''s Student


"Tom Ogilvy" wrote:

If they refer to only cells in the same sheet, you can use

msgbox activecell.DirectPrecedents.Address

also look at Precedents. but these will not return information on links
to
other worksheets or external.

--
Regards,
Tom Ogilvy


"Gary''s Student" wrote:

Given a formula in a cell, is there a straight-forward way to list all
the
cells (or ranges) to which the formula refers?
--
Gary's Student



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
Help with converting a block of cells with Absolute and mixed references to relative references Vulcan Excel Worksheet Functions 3 December 13th 07 11:43 PM
copy formula down a column and have cell references change within formula brad New Users to Excel 5 May 13th 07 04:38 PM
Macro to Formula References K1KKKA Excel Discussion (Misc queries) 4 December 18th 06 10:27 PM
Formula with references Qlychap Excel Discussion (Misc queries) 1 June 14th 06 09:20 AM
copy formula using same references macsworks Excel Worksheet Functions 3 December 1st 05 01:49 AM


All times are GMT +1. The time now is 11:17 AM.

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

About Us

"It's about Microsoft Excel"