Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default excel functions in macros

How can VBA knows the scientific functions defined in Excel?
Is there a library to define all these functions in a VBA workbook?
Thank you
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default excel functions in macros

Have you looked in the Functions list, menu InsertFunction, these are
available to Excel

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Leopoldine" wrote in message
...
How can VBA knows the scientific functions defined in Excel?
Is there a library to define all these functions in a VBA workbook?
Thank you



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default excel functions in macros

If you are looking for code that implements the algorithms, that is not
available. Excel vba calls these functions same as you can call functions
in a dll. You don't need redundant code written in VB.

--
Regards,
Tom Ogilvy

"Leopoldine" wrote in message
...
How can VBA knows the scientific functions defined in Excel?
Is there a library to define all these functions in a VBA workbook?
Thank you



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 42
Default excel functions in macros

"Leopoldine" wrote:
How can VBA knows the scientific functions defined in Excel?
Is there a library to define all these functions in a VBA workbook?


If you would like to use an Excel spreadsheet function in VBA, use the
WorksheetFunction object.

WorksheetFunction.function(arg)

Note that not all worksheet functions are available this way. There's no
need to declare them or provide a reference, if that's what you were asking.
Or was there something else you wanted to do?
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
How to hide a macros/functions from excel sheets Bepenfriends Excel Discussion (Misc queries) 1 December 5th 06 06:50 PM
Excel Functions and Macros Rich Excel Discussion (Misc queries) 2 December 22nd 05 03:55 PM
Shortcut keys assigned to macros/functions in excel Aussie CPA Excel Worksheet Functions 8 September 13th 05 02:49 AM
Can I call my .Net functions from Excel Macros Yuhong Excel Programming 1 December 3rd 04 07:29 PM
Excel: Deleting Macros and Functions Earle Excel Programming 1 July 8th 03 06:47 PM


All times are GMT +1. The time now is 02:54 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"