Function is Excel 2007

W

W Wolfe

I have some spreadsheets with custon functions. They are stored in a module
when looking at the VBA window. These functions worked in 2003, but don't
seem to be recognized when I open the spreadsheet in 2007.

Here is one function:

Function GreatCircle(Satlong, ESlatN, ESlongE)
Convert = 180 / Application.Pi
GreatCircle = Convert * Application.Acos(Cos(ESlatN / Convert) *
Cos((ESlongE - Satlong) / Convert))

End Function

What should I be looking for?
 
D

Dave Peterson

Make sure you allowed macros to run when you opened that workbook with the
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