Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Dana DeLouis posted this:
Sub TrailingMinus() ' = = = = = = = = = = = = = = = = ' Use of CDbl suggested by Peter Surcouf ' Program by Dana DeLouis, ' = = = = = = = = = = = = = = = = Dim rng As Range Dim bigrng As Range On Error Resume Next Set bigrng = Cells.SpecialCells(xlConstants, xlTextValues).Cells If bigrng Is Nothing Then Exit Sub For Each rng In bigrng.Cells rng = CDbl(rng) Next End Sub If you're new to macros, you may want to read David McRitchie's intro at: http://www.mvps.org/dmcritchie/excel/getstarted.htm Darlene wrote: I am using Excel 2000 and have received a large data file downloaded from a mainframe system. Is there a way to easily convert the numbers stored as text back to numbers so I can total them? -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel 2003 FAILS, but Excel 2000 SUCCEEDS ??? | Excel Discussion (Misc queries) | |||
Convert text numbers to numbers | Excel Worksheet Functions | |||
how do i convert Excel 2000 files to Excel 2003 | Excel Discussion (Misc queries) | |||
how do I convert copied Text numbers into values in Excel? | Excel Worksheet Functions | |||
Convert text to numbers | Excel Discussion (Misc queries) |