Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default get current value of cell containing formula


Using the Excel object model (in Excel 2003), how can one obtain th
current value from a cell containing a formula? Similarly, how can on
obtain the current font.Color of a cell whose color is determined by
conditional format

--
jgreifPosted from http://www.pcreview.co.uk/ newsgroup acces

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default get current value of cell containing formula

msgbox Range("A1").Value

You secod question is much more difficult (assuming the font color is being
produced by conditional formatting) and can only be achieved in a
round-about way.

See Chip Pearson's page on this topic:
http://www.cpearson.com/excel/CFColors.htm

--
Regards,
Tom Ogilvy

"jgreif" <jgreif.1pk8yn@ wrote in message
...

Using the Excel object model (in Excel 2003), how can one obtain the
current value from a cell containing a formula? Similarly, how can one
obtain the current font.Color of a cell whose color is determined by a
conditional format?


--
jgreifPosted from http://www.pcreview.co.uk/ newsgroup access



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default get current value of cell containing formula


Thanks much

--
jgreifPosted from http://www.pcreview.co.uk/ newsgroup acces

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
Is there a formula that doesn't change current cell if false? wilmaloney Excel Worksheet Functions 3 April 28th 09 02:54 AM
How to use the rownumber of the current cell in a formula Wim Goelen Excel Worksheet Functions 3 October 28th 08 08:47 PM
formula to change current cell value Robert H Excel Worksheet Functions 2 February 20th 07 07:39 AM
formula, move to previous cell when the current cell=0 or empty osama amer Excel Discussion (Misc queries) 0 May 29th 06 12:18 PM
Can I get current #row or #column in cell formula? ryany Excel Discussion (Misc queries) 2 February 13th 06 11:27 AM


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

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"