+ Reply to Thread
Results 1 to 3 of 3

How to limit characters in a .Range command?

  1. #1
    Registered User
    Join Date
    12-05-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    11

    How to limit characters in a .Range command?

    Still refining this bit of code;

    Please Login or Register  to view this content.
    This runs great except when the total characters exceed 31 (limiting length of a tab name). My value that resides in "B2" I have found often will exceed this so I want to revise the code to only grab the first 25 characters of this cell. I have tried using the Left command but it doesn't seem to work, operator error no doubt...

    Any help, as always, is greatly appreciated.

  2. #2
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,327

    Re: How to limit characters in a .Range command?

    Untested try...

    Please Login or Register  to view this content.
    HTH
    Regards, Jeff

  3. #3
    Registered User
    Join Date
    12-05-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    11

    Re: How to limit characters in a .Range command?

    Quote Originally Posted by jeffreybrown View Post
    Untested try...

    Please Login or Register  to view this content.
    Works perfectly, thanks!

+ 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. Limit Characters
    By plank in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-31-2012, 03:12 AM
  2. Replies: 1
    Last Post: 01-13-2011, 02:29 PM
  3. SQL limit of 255 characters
    By DB in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-08-2005, 03:25 PM
  4. limit no of characters in cell
    By rocket0612 in forum Excel General
    Replies: 3
    Last Post: 06-01-2005, 03:05 PM
  5. Concatenate and then limit # of characters
    By SP in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-31-2005, 09:06 PM

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