Re: FormatConditions(1).Formula1
- From: "Stefi" <Stefi@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 17 Feb 2006 02:37:17 -0800
Hi Tom,
I tried Chip's macro and it failed because of not handling FormulaLocal
(just like Bob's one)!
Regards,
Stefi
„Stefi” ezt írta:
Thanks Tom,.
I know that my formula is applicable only for a simple case, but for the
moment I have only that simple case, and I was glad to solve my present
problem.
Many thanks for your guiding me to Chip's page, now I have an abundant
choice of solutions, including Bob's one, I am going to test them, paying
special attention to handling FormulaLocal, because
ActiveCell.FormatConditions(1).Formula1 returns formulae in Local format in
national language versions.
Regards,
Stefi
„Tom Ogilvy” ezt írta:
Check out Chip Pearson's page on this topic:
http://www.cpearson.com/excel/CFColors.htm
For your function,
Depending on your formula, I am not sure it is a general solution.
--
Regards,
Tom Ogilvy
"Stefi" <Stefi@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:77E2759C-3450-4823-AAA3-FA48F9E34758@xxxxxxxxxxxxxxxx
Hi Bob,or
Sorry for my poor English! I'd like to know wether the formula in
ActiveCell.FormatConditions(1).Formula1 gives True or False!
In the meantime I made a solution:
Function FormCondTF(fcformulaLoc, workcell)
Range(workcell).FormulaLocal = fcformulaLoc
FormCondTF = Range(workcell)
Range(workcell).ClearContents
End Function
Answer = FormCondTF(ActiveCell.FormatConditions(1).Formula1, "Z1")
But I'm still interested in your opinion!
Regards,
Stefi
"Bob Phillips" ezt írta:
Pardon? What does the question mean?
--
HTH
Bob Phillips
(remove nothere from email address if mailing direct)
"Stefi" <Stefi@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:5B234DD9-92B9-406A-97FB-C67250086FE2@xxxxxxxxxxxxxxxx
Hi All,
It is known that
ActiveCell.FormatConditions(1).Formula1
returns the formula as a string.
How can I ask if this formula fulfils for ActiveCell (or another cell)
not?
Thanks,
Stefi
- References:
- Re: FormatConditions(1).Formula1
- From: Bob Phillips
- Re: FormatConditions(1).Formula1
- From: Tom Ogilvy
- Re: FormatConditions(1).Formula1
- From: Stefi
- Re: FormatConditions(1).Formula1
- Prev by Date: Re: VBA Help needed -- compile error: object required
- Next by Date: Re: VBA Help needed -- compile error: object required
- Previous by thread: Re: FormatConditions(1).Formula1
- Next by thread: Re: FormatConditions(1).Formula1
- Index(es):
Relevant Pages
|