Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Function is Excel 2007

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?


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Function is Excel 2007

Make sure you allowed macros to run when you opened that workbook with the
function.

W Wolfe wrote:

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?


--

Dave Peterson
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
Excel 2007 Function Qt zyzzyva Excel Worksheet Functions 2 January 30th 10 10:05 PM
The Paste Function in Excel 2007 Victoria Excel Discussion (Misc queries) 1 November 24th 08 01:14 PM
Excel 2007 Function Library BK Excel Discussion (Misc queries) 1 July 14th 08 10:17 PM
Excel 2007 - sum function not working IVCC Excel Worksheet Functions 2 June 10th 08 12:09 AM
XIRR function in Excel 2007 nobuhle sibusiso[_2_] Excel Discussion (Misc queries) 2 January 3rd 08 04:07 PM


All times are GMT +1. The time now is 04:10 AM.

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"