Is there a function to determine whether a cell contains a formul.

G

Guest

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.
 
F

Frank Kabel

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top