Hi, I am using Excel97. I recorded a very simple macro involving
Solver. When running this recorded macro I get an error message:

Compile error
Sub or function not defined

Apparently the offending statement is SolverOK, which is the first
statement in the sub.

Since Excel itself recorded the macro, I don't know what to do about
this. Any help or ideas?

Many thanks in advance.