Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need help with Excel Functions

Status
Not open for further replies.

ulwitch

Programmer
Aug 24, 2001
22
0
0
The following is code that works in VBA that utilizes the Excel function "Median" from an Access module...

Dim objExcel As Excel.Application
Dim dTemp As Double

Set objExcel = New Excel.Application

dTemp = objExcel.Application.Median(1, 2, 5, 8, 13)

..................
I need to be able to reference a field of data from a table instead of hardcoding the values.

I saw how one person wrote their own function for getting the median, but I need to use other functions from Excel such as trimmean, skew, kurt, etc.

Can this be done?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top