+ Reply to Thread
Results 1 to 6 of 6

create list of spreadsheet's data validation rules

  1. #1
    Registered User
    Join Date
    09-11-2012
    Location
    Rockville, MD
    MS-Off Ver
    Excel 2003
    Posts
    47

    create list of spreadsheet's data validation rules

    Hi All,

    I have a large spreadsheet with individualized data validation rules (including validation criteria, input message and error alert) for each of 101 columns. I would like to be able to create a list of the criteria, input messages, error alerts so that I can more easily quality check the entire set of validation rules. Any ideas on a macro that would achieve that?

  2. #2
    Forum Expert mike7952's Avatar
    Join Date
    12-17-2011
    Location
    Florida
    MS-Off Ver
    Excel 2007, Excel 2016
    Posts
    3,520

    Re: create list of spreadsheet's data validation rules

    Here what your looking for see if this helps

    http://www.contextures.com/xlDataVal09.html
    Thanks,
    Mike

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved.

  3. #3
    Registered User
    Join Date
    09-11-2012
    Location
    Rockville, MD
    MS-Off Ver
    Excel 2003
    Posts
    47

    Re: create list of spreadsheet's data validation rules

    Thanks for the link; but neither of those pieces of code actually did anything. It's weird, no errors, nothing.

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: create list of spreadsheet's data validation rules

    Your next step would be to post a workbook example where you've installed that code and tried it on that workbook, explain what is expected vs what happens by referring to the sample workbook.

    Click GO ADVANCED and use the paperclip icon to post up a copy of your workbook.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  5. #5
    Registered User
    Join Date
    09-11-2012
    Location
    Rockville, MD
    MS-Off Ver
    Excel 2003
    Posts
    47

    Re: create list of spreadsheet's data validation rules

    Ok, I was being silly and put the code into a worksheet, instead of a module. It works pretty well. I get the cell address, the type of validation (custom, list, etc) and my validation formula. That's great! I would, however, also like to have the associated input message and error alert text.

  6. #6
    Forum Expert mike7952's Avatar
    Join Date
    12-17-2011
    Location
    Florida
    MS-Off Ver
    Excel 2007, Excel 2016
    Posts
    3,520

    Re: create list of spreadsheet's data validation rules

    Try this

    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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