View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Smurfette18 Smurfette18 is offline
external usenet poster
 
Posts: 10
Default Sum that ignores text

Hi,

I am trying to do a simple sum using inputs taken from userform
comboboxes. The problem is that the inputs can contain the text
character "-", and this is causing an error. I have tried converting
the inputs to values using val, cval, cdec, etc, but I think that the
problem is that the application.sum function in VBA, like the simple
operation "+", can't handle text. Any ideas about how to deal with
this?

Thanks!
-Tim