+ Reply to Thread
Results 1 to 2 of 2

Set a character limit on multiple cells using VBA

  1. #1
    Registered User
    Join Date
    08-29-2013
    Location
    perth, australia
    MS-Off Ver
    Excel 2016
    Posts
    1

    Set a character limit on multiple cells using VBA

    Hi All

    This is my first time posting

    I am setting up a form where I have fields that I would like to set a character limit.

    A1 Max Character =60
    A2 Max Character =160
    A3 Max Character =160

    If the max character is exceeded,
    pop up to notify user, then truncate entry to maximum allowable length.

    Alternatively,
    Enter a maximum number of characters field, once maximum number is fulfilled automatically start populating next line available
    Last edited by mellymooch; 07-08-2020 at 11:05 PM. Reason: SOLVED

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    79,365

    Re: Set a character limit on multiple cells using VBA

    Please share the solution for the benefit of all. Thanks.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

+ 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. Display Active Character Count + Limit Character Per Cell
    By euronail in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-22-2011, 04:59 AM
  2. Replies: 1
    Last Post: 01-13-2011, 02:29 PM
  3. How to set limit in number of character in cells?
    By mingali in forum Excel General
    Replies: 4
    Last Post: 01-13-2010, 08:55 AM
  4. Character limit?
    By ArtisanInternet in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-18-2008, 10:29 AM
  5. Limit Character Entry on Cells and Font Question
    By ARPRINCE in forum Excel General
    Replies: 2
    Last Post: 02-28-2008, 04:57 PM
  6. Character Limit in Cells
    By facmess1 in forum Excel General
    Replies: 2
    Last Post: 11-05-2007, 09:07 PM
  7. 255 Character Limit
    By Colin in forum Excel General
    Replies: 2
    Last Post: 03-02-2006, 04:00 PM
  8. busted workaround for 255 character limit in cells
    By mklapp in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-11-2005, 05: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