View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Suhao He Suhao He is offline
external usenet poster
 
Posts: 2
Default question on using average function in macro

Hi, all

I have a question on using average function in macro.

I have couple of cells, for example from cells(3.4) to cells(3,55) and
I want to get the averaged value of them. Is there a function I can
directly use in macro?

I found one object WorksheetFunction.Average(Range). How Can I convert
Cells(3,4)~Cells(3,55) to a range value?

Thanks,

Suhao