Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Sally
 
Posts: n/a
Default how to convert text to value

I have 40 thousands database of excel spreadsheet to convert from text eg.
12+3 to value. I tried many ways in doing but not success. Please help. thanks
  #2   Report Post  
Bernie Deitrick
 
Posts: n/a
Default

Sally,

Select all the cells that you need to convert, and run this macro:

Sub TryNow()
Dim mycell As Range
For Each mycell In Selection
mycell.Value = Evaluate(mycell.Text)
Next mycell
End Sub

HTH,
Bernie
MS Excel MVP


"Sally" wrote in message
...
I have 40 thousands database of excel spreadsheet to convert from text eg.
12+3 to value. I tried many ways in doing but not success. Please help. thanks



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
How do I convert excel file into ASCII text file with alignment? Rosaiah Excel Discussion (Misc queries) 2 June 27th 05 12:17 PM
Formulas dealing with text data Bagia Excel Worksheet Functions 6 June 20th 05 10:29 PM
convert a range of lowercase text to upper text or vice versa jackdaw Excel Worksheet Functions 2 May 16th 05 09:31 PM
How do I convert a number formated as a date to text in Excel? BrotherNov Excel Discussion (Misc queries) 5 March 2nd 05 03:51 PM
Convert Numeric into Text Monty Excel Worksheet Functions 0 December 18th 04 09:25 PM


All times are GMT +1. The time now is 03:22 AM.

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

About Us

"It's about Microsoft Excel"