+ Reply to Thread
Results 1 to 2 of 2

Data Validation / VBA / Row Limit issue

  1. #1
    Registered User
    Join Date
    11-24-2016
    Location
    London
    MS-Off Ver
    ms OFFICE 2010
    Posts
    42

    Data Validation / VBA / Row Limit issue

    Hi,

    I am using the following macro to create and update a data validation list that contains dates. I am getting the following error message:
    "Excel found unreadable content, Do you want to recover the contents of this workbook? If you trust the source of this workbook, click yes".Excel was able to open the file, by repairing or removing the unreadable content. Removed feature: Data Validation from worksheet 22 etc.

    The code that I am using is:
    Please Login or Register  to view this content.
    Is there a character limit for the data validation field or a row limit? I've tested it myself and do not get this error if the row limit (column B) which contains dates is 750 rows. It seems to be working without producing the error. If I add in extra data, where the row limit is now 1700, save the document and re-open, I get the error mentioned above.
    I need allowance for about 3000 rows. The date field will hold one month of dates, and they can appear many times, but the data validation macro groups/filters the dates and places in B6 so they only appear once.

    I cant tell what exactly this error message is trying to tell me.

    I have read that I need use a string that specifies a range where the list is stored rather than using a string that contains the list of validation values separated by commas. Is this true? How do I change this so that I can attempt that? Do I put a named range in e.g."dates" , how do I incorporate it and remove the scripting dictionary if that has to be changed?

    Many thanks.
    Last edited by notemore; 03-25-2018 at 07:22 AM. Reason: more descriptive title

  2. #2
    Registered User
    Join Date
    11-24-2016
    Location
    London
    MS-Off Ver
    ms OFFICE 2010
    Posts
    42

    Re: Data Validation / VBA issue

    I just typed the range in the formula1 section of the code and no error, but the validation box now doesn't appear with the dates in it for selection.
    Last edited by notemore; 03-24-2018 at 09:00 AM.

+ 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. Issue with data validation
    By Ankor123 in forum Excel General
    Replies: 7
    Last Post: 01-14-2016, 06:39 PM
  2. Issue with Data Validation
    By Nitefox in forum Excel General
    Replies: 5
    Last Post: 11-01-2014, 05:28 PM
  3. [SOLVED] Data Validation Issue
    By ISUCyclones in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-03-2012, 06:59 PM
  4. Data Validation Issue
    By tim.francis in forum Excel General
    Replies: 1
    Last Post: 01-19-2012, 05:22 PM
  5. Data Validation issue
    By TranceDiablo in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-01-2011, 10:54 PM
  6. Data validation issue
    By Sophster in forum Excel General
    Replies: 4
    Last Post: 01-11-2011, 09:43 AM
  7. Data validation issue
    By mevetts in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-28-2005, 10:02 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