Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Christo Kriel
 
Posts: n/a
Default Is there a function to determine whether a cell contains a formul.

I need to use an Excel function to check whether a cell contains a formula. I
want to design a spreadsheet test for my class which checks itself and gives
feedback on whether the answers are correct.
  #2   Report Post  
Frank Kabel
 
Posts: n/a
Default

Hi
try the following UDF:
public function is_formula(rng as range)
is_formula=rng.hasformula
end function



--
Regards
Frank Kabel
Frankfurt, Germany

"Christo Kriel" <Christo schrieb im
Newsbeitrag ...
I need to use an Excel function to check whether a cell contains a

formula. I
want to design a spreadsheet test for my class which checks itself

and gives
feedback on whether the answers are correct.


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
#VALUE in cell but pop up function box show right number Ted Dalton Excel Discussion (Misc queries) 1 December 14th 04 04:15 PM
copy a cell value not its function KC Mao Excel Discussion (Misc queries) 2 December 4th 04 05:30 AM
Excel - option to extend function in cell to column kjoshua777 Excel Worksheet Functions 2 November 18th 04 02:08 AM
Function to return colour of formatted cell ExcelMonkey Excel Worksheet Functions 3 November 1st 04 06:54 PM
continuous cell function milljaso Excel Worksheet Functions 1 October 27th 04 10:21 PM


All times are GMT +1. The time now is 10:23 PM.

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"