mp has brought this to us :
> On 4/25/2012 5:12 PM, GS wrote:
>> mp wrote on 4/25/2012 :
>>> I know someone is going to say, just google it ;-) which I have and am
>>> sure it's there but I don't see it. Used to be a way in 97' to convert
>>> format of a cell from text to number
>>>
>>> (cells have existing values in it- xls downloaded from a site- numbers
>>> come in as text so I can't SUM(x:x) etc.
>>>
>>> Have searched Help and google but can't find using "convert text to
>>> number" and many variations of that...sure i'm missing the obvious, sorry
>>> Thanks
>>> Mark
>>>
>>> ps would then try to find a way to automate with vba (repeated task
>>> getting monthly/quarterly reports downloaded)
>>
>> Use the VALUE() function:
>>
>> =SUM(VALUE(X:X))
>>
> Thanks GS, also found I can manually click the error window after selecting
> bogus cells. Will look to vba it.
> Thanks
> mark
Ok, so you're saying that not all cells will contain numbers, ergo some
may have text. In that case my formula won't work if any cells in the
range contain non-numeric characters. VBA will certainly do this...
--
Garry
Free usenet access at
http://www.eternal-september.org
ClassicVB Users Regroup!
comp.lang.basic.visual.misc
microsoft.public.vb.general.discussion