+ Reply to Thread
Results 1 to 3 of 3

VBA Code Help - Convert to Number

  1. #1
    Registered User
    Join Date
    05-12-2011
    Location
    Boston, MA
    MS-Off Ver
    Excel 2003
    Posts
    2

    VBA Code Help - Convert to Number

    After importing my report to Excel my numbers are listed in text format with the green arrow in the upper corner (see attached worksheet). For my situation, the problem can easily be fixed by highlighting all of the fields and selecting "Convert to Number" from the exclamation point drop down.

    Is there a way using VBA Code to replicate this process? I would like all of my values to retain their format (percentage, dollar, etc). but no longer have the green notices in the upper corner.

    Any help would be greatly appreciated. Thanks!
    Attached Files Attached Files
    Last edited by jeff01010; 05-12-2011 at 11:40 AM.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,626

    Re: VBA Code Help - Convert to Number

    Try:

    Please Login or Register  to view this content.

    Regards
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    05-12-2011
    Location
    Boston, MA
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: VBA Code Help - Convert to Number

    I can not believe I missed a function as simple as that. Thank you for your help this worked perfectly.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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