View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
pontitt pontitt is offline
external usenet poster
 
Posts: 6
Default How to get variable from a formula

Hi,

I would like to ask, whether it is possible to get information of a variable
in a formula, I mean:

Cell B1 contains formula:

=SPEC("Green","Apple",98),

is that possible somehow to reach the middle parameter of the function, that
is "Apple"?

Is there any VBA function like:

needed = Cells(1,2).Formula.Parameter(2)

Thanks in advance