+ Reply to Thread
Results 1 to 2 of 2

Text Format in Macro Limits to 15 or Less Characters

  1. #1
    Forum Contributor
    Join Date
    09-13-2011
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    216

    Text Format in Macro Limits to 15 or Less Characters

    I was wondering if you can help me out with a macro I am trying to write. The basic problem is that we have some identification codes that have a large number of characters and sometimes a mix of letters. Excel defaults to scientific notation for these items. I want them to be in a text format so that all of the characters can be seen. I have created a macro that works great as long as the character length is 15 or less. At greater than 16 characters excel automatically defaults to scientific notation again. The only way around this is to have the cell formatted as text BEFORE the information is input into the cell. The way I see it, is that if the macro inserted a column to the right of the existing column, formatted the new column as text, and then copy and pasted the resulting values from my current macro to these new cells, the problem would be solved.

    Here is the macro as it stands (and works perfectly for a character length of 15 or less):
    Please Login or Register  to view this content.
    Do you have any suggestions or ideas on how to fix the problem? I would appreciate your help.

  2. #2
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: Text Format in Macro Limits to 15 or Less Characters

    Please Login or Register  to view this content.
    seems to work for me.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 8
    Last Post: 12-17-2012, 05:30 AM
  2. increase characters limits cell Excel 2007
    By Brooke.coin in forum Excel General
    Replies: 4
    Last Post: 09-26-2012, 01:27 PM
  3. VBA Macro to format individual characters in a cell given certain conditions
    By DavidBW in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-12-2012, 06:44 AM
  4. How do I get Format Wrap Text to work with greater than 255 characters
    By MartinP in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-23-2009, 04:29 AM
  5. cell format limits
    By Mike in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 02:05 AM

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