LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 61
Default Precedents for formulas

Hi Everyone:

I posted this in the wrong place, and now, I am posting it here, in the
correct newsgroup. In excel VBA, is there a way to get the cell references
that a formula contains. For example, if in cell A1, I have the following
formula:

=2*B1+C3-x

where x is a defined name (referencing cell D5).

So, for cell A1, I want the program to return to me B1, C3, and x (or D5).

I would appreciate a small code for this. Thanks for all your help.

Bob



 
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
Precedents Abdul Shakeel Excel Discussion (Misc queries) 3 July 25th 08 08:08 PM
Formula Precedents Brendan Vassallo Excel Discussion (Misc queries) 2 September 11th 06 12:09 AM
Cell Precedents Kaval Excel Programming 2 April 5th 05 08:16 AM
Precedents do not work Paula Excel Worksheet Functions 1 March 30th 05 08:40 PM
How to zero out cells with formulas in them but no precedents? Mike Piazza Excel Programming 3 March 17th 05 02:40 AM


All times are GMT +1. The time now is 11:12 PM.

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"