Forum home » Delegate support and help forum » Microsoft Excel VBA Training and help » Functions
Functions
Resolved · Low Priority · Version 2003
Functions
Can I use functions in the VBA coding ? Things like STDVAR, NPV etc... and does it work the same way in term of data input/setup?Is there a list of maths functions somewhere I can use in my code?
Thanks.
M
For upcoming training course dates see: Pricing & availability
RE: functions
Hi MariaThanks for your question
You can indeed use excel functions in your VBA coding. They are contained in the worksheetfunction object. You place the function's arguments in the normal way.
e.g.
worksheetfunction.Sum(Range("A1:A20"))Not all worksheet functions are available. You can find a complete list by typing "worksheetfunction object members" into vba's help tool.
Hope this helps
Regards
Stephen
Thu 20 May 2010: Automatically marked as resolved.
|
|
The Rehabilitation Of The Ribbon In Microsoft Office 2010 A major turn off for users of Microsoft Office 2007 was the flashy, uncustomisable Ribbon. What steps have Microsoft taken to make their interface more accessible in their latest upgrade? » Article: Best training |



Course updates

