Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
Ed Ed is offline
external usenet poster
 
Posts: 8
Default Text currency to number

How do I convert text $123.45 to the number 123.45?

Ed
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default Text currency to number

Hi Ed,

Try something like:

'=============
Public Sub Tester()
With Range("A1")
.NumberFormat = "#,##0.00"
.Value = .Value
End With
End Sub
'<<=============


---
Regards,
Norman


"Ed" wrote in message
...
How do I convert text $123.45 to the number 123.45?

Ed



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 324
Default Text currency to number

Selection.NumberFormat = "0.00"
--
Best wishes,

Jim


"Ed" wrote:

How do I convert text $123.45 to the number 123.45?

Ed

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
filter on currency number format FMS Excel Discussion (Misc queries) 4 April 3rd 09 02:54 PM
specifying currency together with a number in a single field R Excel Worksheet Functions 3 August 2nd 05 12:06 PM
Number changed to Currency and ... Dipak Excel Worksheet Functions 0 June 15th 05 12:07 AM
reading currency/number whitesnow Excel Discussion (Misc queries) 1 December 15th 04 09:43 AM
Conversion from currency value to currency text format Frank Kabel Excel Programming 1 August 18th 04 10:06 PM


All times are GMT +1. The time now is 05:27 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"