+ Reply to Thread
Results 1 to 5 of 5

excel 365 validation bug?

  1. #1
    Registered User
    Join Date
    03-24-2019
    Location
    Salzburg, Austria
    MS-Off Ver
    365 v. 1902
    Posts
    1

    excel 365 validation bug?

    the code below is running well in excel 2010 but produces error in excel 365 version 1902?

    here the code example:

    Please Login or Register  to view this content.
    (if "content" gets bigger then 255 chars the code results with an error???)

    The same code runs perfectly in Excel 2010!
    Last edited by AliGW; 03-24-2019 at 09:58 AM.

  2. #2
    Forum Expert torachan's Avatar
    Join Date
    12-27-2012
    Location
    market harborough, england
    MS-Off Ver
    Excel 2010
    Posts
    4,303

    Re: excel 365 validation bug?

    What is 'content' defined as.
    If 'string' try 'variant' may be slightly slower ????
    torachan.

  3. #3
    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
    80,647

    Re: excel 365 validation bug?

    Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however you need to include code tags around your code.

    Please take a moment to add the tags. 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, and it also maintains VBA formatting.

    Click on Edit to open your thread, then 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

    (Note: this change is not optional. As you are new here, I will do it for you this time.)
    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.

  4. #4
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,075

    Re: excel 365 validation bug?

    You're code works fine in 2013, but if the string is greater than 255 characters, I get an error when re-opening the workbook & the data validation is stripped out.
    It maybe that MS have now made it so that you cannot have a DV string longer than 255 to prevent that problem.

  5. #5
    Forum Expert rorya's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365 Ent Monthly Channel / Insiders Beta
    Posts
    8,907

    Re: excel 365 validation bug?

    Quote Originally Posted by Fluff13 View Post
    It maybe that MS have now made it so that you cannot have a DV string longer than 255 to prevent that problem.
    Yes, it seems it may have changed recently.
    Rory

+ 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: 2
    Last Post: 02-27-2016, 12:18 PM
  2. Data Validation not working,for excel validation Please Help!!!
    By angelmama in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 07-09-2014, 10:06 AM
  3. Need help in the excel validation
    By abhikulsh in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-09-2013, 08:57 PM
  4. Validation list from Mac Excel 2011 fails to function on Windows 7 Excel 2010
    By lhlevasseur in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 3
    Last Post: 12-17-2012, 07:08 PM
  5. [SOLVED] excel validation
    By shaknark in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-04-2012, 10:20 AM
  6. validation rules not working when someone copy paste data on validation cell
    By jthakrar in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 05-17-2010, 03:36 AM
  7. [SOLVED] VALIDATION IN EXCEL
    By Ginger in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-01-2006, 08:40 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