LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 947
Default How do I use the excel function ATAN in a module used in excel

As a side note, vba uses Atn( ) for ATAN.
For the op, if you click on vba help for Atn, you can also select "See
Also", and then select "Derived Math Functions." This will list some vba
solutions to Trig functions that are not included in vba.

- -
HTH. :)
Dana DeLouis
Windows XP, Office 2003


"Bernie Deitrick" <deitbe @ consumer dot org wrote in message
...
Use

VBA includes its own SIN,COS and TAN , but doesn't include ASIN,ACOS and
ATAN , so you need to use"

Application.Asin( )

or

Application.WorksheetFunction.Asin( )

HTH,
Bernie
MS Excel MVP


"subash" wrote in message
...
I have written a module(function) to use it as a user defined function by
creating a macro
When I use excel trignometric functions like SIN,COS and TAN the function
is
getting executed whreas when functions like ASIN,ACOS and ATAN are used
in
the module, I get compilation error
I am struggling to get a link
can any one help please?





 
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
angle from atan Randall_Fos New Users to Excel 2 April 5th 07 01:30 PM
TAN and ATAN functions ... OTS Excel Discussion (Misc queries) 1 March 22nd 06 01:33 PM
Access Module coded converted to Excel Function Adam Excel Discussion (Misc queries) 1 December 23rd 04 02:48 PM
how to call Access's function in different module in Excel VBA miao jie Excel Programming 0 July 25th 04 04:03 AM
how to call Access function&module in Excel VBA?? miao jie Excel Programming 1 July 24th 04 04:49 PM


All times are GMT +1. The time now is 09:08 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"