View Single Post
  #11   Report Post  
Posted to microsoft.public.excel.programming
Geoff[_14_] Geoff[_14_] is offline
external usenet poster
 
Posts: 10
Default average of array element

vbnullstring solved the problem I am now getting the results I want.
Thank very much for your help.

On Jul 27, 12:56 am, JMB wrote:
If it doesn't create a problem for any other areas of your code, perhaps use
vbNullString instead of vbEmpty. The underlying numeric value of vbEmpty is
zero. And average ignores text anyway - so it shouldn't create a problem
there.