Consulting

Results 1 to 2 of 2

Thread: Automatically Converting Numbers stored as text to numers

  1. #1
    VBAX Newbie
    Joined
    May 2017
    Posts
    1
    Location

    Exclamation Automatically Converting Numbers stored as text to numbers

    I am using an excel workbook that use a sheet ( that will copy and paste from another workbook to this workbook ) data values for analyzing data here. but all of numbers in input sheets ( that exporting from another software ) sorted as text. i want converting them all when pasting them in my analyzer workbook. is there any solution ?
    thanks
    Last edited by Toofan; 05-01-2017 at 04:08 AM.

  2. #2
    Administrator
    VP-Knowledge Base
    VBAX Grand Master mdmackillop's Avatar
    Joined
    May 2004
    Location
    Scotland
    Posts
    14,489
    Location
    Try PasteSpecial xlValues or formatting cells as General before copying.
    Record a macro whichever gives the correct result.
    MVP (Excel 2008-2010)

    Post a workbook with sample data and layout if you want a quicker solution.


    To help indent your macros try Smart Indent

    Please remember to mark threads 'Solved'

Tags for this Thread

Posting Permissions

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