View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
papou[_9_] papou[_9_] is offline
external usenet poster
 
Posts: 52
Default Returning the value of a named formula

Hi Asser
Evaluate("Xmax")

HTH
Cordially
Pascal

"Jazzer " a écrit dans le message de
...
Hi,

I've defined some names in my workbook and I try to read the value of
those in my VB application.

The simple ones, which are like "=data!$A$2" (named as Xmin) are easy
to read with Range(ActiveWorkbook.Names("Xmin").Value).

How do I get the value of a named formula? (for example
=MAX(INDIRECT("data!A:A")) that is named as Xmax)

- Asser


---
Message posted from http://www.ExcelForum.com/