View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Soo Cheon Jheong Soo Cheon Jheong is offline
external usenet poster
 
Posts: 14
Default How to detect if a cell is formula

Hi

If a cell A1 contains the formula (for example, =SUM(K2:K1000) ),
Select a cell B1, from the formula menu, choose [Define Name].

In the Name box, type a name HASFORMULA and In the Refers To box,
type a formula =EVALUATE(GET.CELL(48,!A1)), and choose
the [Add] button and then [Close] button.

In a cell B1, enter the formula:

=HASFORMULA

--
Regards,

Soo Cheon Jheong
Seoul, Korea
http://excel.hompy.com
_ _
^вп^
--