pull data from Access into Excel VBA function, return answer to Excel

P

Pat

Hi,
I am working through the O'Reilly book Integrating Access and Excel.
I have a table in Access with 3 columns, a stock ID, a date, and a %
return.
I want to write a sub procedure that will calculate the mean and
standard deviation of each stock, and output the ratio of these into
Excel. Does anyone know how to do that?
Thanks,
Pat
 
P

pietlinden

Hi,
I am working through the O'Reilly book Integrating Access and Excel.
I have a table in Access with 3 columns, a stock ID, a date, and a %
return.
I want to write a sub procedure that will calculate the mean and
standard deviation of each stock, and output the ratio of these into
Excel. Does anyone know how to do that?
Thanks,
Pat

why not query the Access table from Excel and then just use the built-
in STDEV(), AVERAGE() functions? Doing this from Access would be a
total PITA.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top