how is use worksheet function mina( ) in macro?

V

vacaut

I can only limited number of worksheetfunctions when I try to write
simple macro. How do I call some of the frequently used one such a
MinA() or SumA()
 
T

Ture Magnusson

Vacaut,

You can EVALUATE a string. Like this:

Sub TestMinA()
Dim x
x = Application.Evaluate("=MINA(A1:A10)")
MsgBox x
End Sub
 

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