It's with specifically identified cells and is not a global change. I've
actually determine how to do this, but the results are now strings and I need
them to be numeric. How can I resolve this?
Thanks,
Barb Reinhardt
Use CLng to convert to a long number
not very good example!
strsA ="2"
A =CLng(strsa)

Signature
Amazing PPT Hints, Tips and Tutorials-http://www.PPTAlchemy.co.uk
http://www.technologytrish.co.uk/ppttipshome.html
email john AT technologytrish.co.uk
> It's with specifically identified cells and is not a global change. I've
> actually determine how to do this, but the results are now strings and I need
[quoted text clipped - 14 lines]
> > > Thanks,
> > > Barb Reinhardt
John Wilson - 26 Feb 2007 19:53 GMT
Maybe I misunderstood? "M" as a number?? Did you mean the character code?

Signature
Amazing PPT Hints, Tips and Tutorials-http://www.PPTAlchemy.co.uk
http://www.technologytrish.co.uk/ppttipshome.html
email john AT technologytrish.co.uk
> Use CLng to convert to a long number
> not very good example!
[quoted text clipped - 19 lines]
> > > > Thanks,
> > > > Barb Reinhardt
> It's with specifically identified cells and is not a global change. I've
> actually determine how to do this, but the results are now strings and I need
> them to be numeric. How can I resolve this?
Textranges contain strings, never numerics. I'm guessing you need to convert values
like "$500M" to something that you can convert to numerics?
Something like this, assuming you've got the value you want to work with in sTemp, a
string variable:
sTemp = Replace(sTemp,"M","")
sTemp = Replace(sTemp,"$","")
' and depending on whether you plan to use val(sTemp) or cdbl(sTemp) or
' something else to convert to numeric, you may also want to
' eliminate commas
sTemp = Replace(sTemp,",","")
Now Cdbl(sTemp) or Val(sTemp) gives you a numeric
> Thanks,
> Barb Reinhardt
[quoted text clipped - 10 lines]
> > > Thanks,
> > > Barb Reinhardt
-----------------------------------------
Steve Rindsberg, PPT MVP
PPT FAQ: www.pptfaq.com
PPTools: www.pptools.com
================================================
Barb Reinhardt - 26 Feb 2007 20:40 GMT
That's exactly what I'm doing. Let me check this out.
> > It's with specifically identified cells and is not a global change. I've
> > actually determine how to do this, but the results are now strings and I need
[quoted text clipped - 35 lines]
> PPTools: www.pptools.com
> ================================================