+ Reply to Thread
Results 1 to 2 of 2

how to convert text to value

  1. #1
    Sally
    Guest

    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. #2
    Bernie Deitrick
    Guest

    Re: how to convert text to value

    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" <[email protected]> wrote in message
    news:[email protected]...
    >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 to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1