+ Reply to Thread
Results 1 to 2 of 2

Converting a text to a number macro...NEED HELP!!!

  1. #1
    Forum Contributor
    Join Date
    06-15-2013
    Location
    United States
    MS-Off Ver
    Excel 2016
    Posts
    214

    Converting a text to a number macro...NEED HELP!!!

    Hello I'm trying to figure out how to convert a text from a scan into a number with a macro. I know I can manually click on the Exclamation point and do this but I have over 30k files being examined. I import and I select a cell cut it and paste it to row 1 and continue this. It will then cut row 1 when it has completed that portion of the cycle and paste it into sheet 2. I've tried codes that do the entire column but it doesn't stop on the last empty row and because I have spaces in between my data that I'm trying to sort it sometimes stops too early. That is why I'm looking for it to examine row 1. I'm looking for a way to change column A Cell 1 or even the entire row if that makes it easier to a number from the text in the field. Please help. Here is my following code. So basically I just need a simple macro that will select Cell A1 and format the text to a number. Please help and Thank you!
    Last edited by trevor2524; 06-25-2013 at 11:25 AM.

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,111

    Re: Converting a text to a number macro...NEED HELP!!!

    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code.

    Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here
    Never use Merged Cells in Excel

+ 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