thanks -----Original Message----- From: Tom Jeffries <tjeff...@gmail.com> Sent: Friday, April 03, 2009 10:34 AM To: excel-macros@googlegroups.com Subject: $$Excel-Macros$$ Re: Convert excel file to .txt
Attached is an updated version that handles the alphanumeric data in column 2 correctly. Tom On Thu, Apr 2, 2009 at 7:56 PM, Cesar Delanoval <cdelano...@gmail.com>wrote: > Tom, the formula works great except for column 2. On this column I have > data that is alpha numeric, The data could be from 1 digit up to 13 digits > ( mostly it is an eight digit alpha field). > On this field I need to complete the field with zeros to the left, for > instance if the field is 123-W6789 ( 9 digits) I need convert to > 0000123-W6789 (13 digits) > > On the sheet the you provided the conversion works fine when this field is > all numeric, but it does not work when it is alpha-numeric. (it does fill > the left with zeros). > > Can you re-look at your formula and see what I need to change. [The entire original message is not included] --~--~---------~--~----~------------~-------~--~----~ ------------------------------------------------------------------------------------- Some important links for excel users: 1. Excel and VBA Tutorials(Video and Text), Free add-ins downloads at http://www.excelitems.com 2. Excel tutorials at http://www.excel-macros.blogspot.com 3. Learn VBA Macros at http://www.vbamacros.blogspot.com 4. Excel Tips and Tricks at http://exceldailytip.blogspot.com To post to this group, send email to excel-macros@googlegroups.com If you find any spam message in the group, please send an email to: Ayush Jain @ jainayus...@gmail.com or Ashish Jain @ 26may.1...@gmail.com ------------------------------------------------------------------------------------- -~----------~----~----~----~------~----~------~--~---