+ Reply to Thread
Results 1 to 8 of 8

Copy multiple Data validation to multiple Sheets

  1. #1
    Registered User
    Join Date
    08-28-2013
    Location
    Canada
    MS-Off Ver
    Excel Mac 2019
    Posts
    22

    Exclamation Copy multiple Data validation to multiple Sheets

    Hi, Thanks for reading

    I have an existing workbook which spans to 55 Sheets

    Now I initially copied 1 sheet and made 52 exact copies (on for each week) and worked my way throught them

    Now I need to make a modification to the data Validation of all those sheest at the exact same areas, specifically

    I need to data validate C54:C60 and D54:D60 and E54:E60 to another worksheet

    Basically I need C54:C60 to =Feuil2!$B$5:$D$5
    D54:D60 =Feuil2!$B$6:$D$6
    and E54:E60 to =Feuil2!$B$7:$D$7

    I know how to do it individually, but I have 52 sheets to go throught, anyway I can do all of them at once, Especially since they all point to the same value just different sheets

    thanks !

  2. #2
    Valued Forum Contributor
    Join Date
    06-22-2018
    Location
    Blackpool, England
    MS-Off Ver
    2019
    Posts
    408

    Re: Copy multiple Data validation to multiple Sheets

    You can edit a number of sheets by holding [CTRL] and clicking the sheets to be changed. Unfortunately, this doesn't work for data validation.

    Review and amend the code below, then copy it into a standard module and you'll have a workable start.
    Please Login or Register  to view this content.
    It's quick and dirty, but it'll save a whole lot of clicking and manual editing if you get it right!

    HTH
    Tim
    Last edited by harrisonland; 03-31-2020 at 12:09 AM.
    Never stop learning!
    <--- please consider *-ing !

  3. #3
    Registered User
    Join Date
    08-28-2013
    Location
    Canada
    MS-Off Ver
    Excel Mac 2019
    Posts
    22

    Re: Copy multiple Data validation to multiple Sheets

    Thanks Tim

    I however get a Compiler error at

    Please Login or Register  to view this content.
    I'm not very familliar with VBA anymore, I haven't touched that for... 8 years ha ha

    Help would be nice

    thanks !

  4. #4
    Valued Forum Contributor
    Join Date
    06-22-2018
    Location
    Blackpool, England
    MS-Off Ver
    2019
    Posts
    408

    Re: Copy multiple Data validation to multiple Sheets

    It post a copy of your worksheet it'll make it easier to see what's going on.

    Tim

  5. #5
    Registered User
    Join Date
    08-28-2013
    Location
    Canada
    MS-Off Ver
    Excel Mac 2019
    Posts
    22

    Re: Copy multiple Data validation to multiple Sheets

    Just sent you a PM ! thanks !

  6. #6
    Valued Forum Contributor
    Join Date
    06-22-2018
    Location
    Blackpool, England
    MS-Off Ver
    2019
    Posts
    408

    Re: Copy multiple Data validation to multiple Sheets

    Hi again. The purpose of having a forum is so that others who may have a similar problem can see the proposed solutions and adapt them to their own problems. It is ordinarily accepted that those with a question do post a (de-sensitised) version of their workbook, so that the specifics of that particular workbook can be taken into account when a solution is proposed. Generally, most helpers do not respond to private messages requesting assistance.

    I've attached a workbook that contains the code from post #2; I'm not getting any errors with the code I posted...

    If you're still getting an error, please post a copy of your workbook here so we can see where it's going awry.

    HTH
    Tim
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    08-28-2013
    Location
    Canada
    MS-Off Ver
    Excel Mac 2019
    Posts
    22

    Re: Copy multiple Data validation to multiple Sheets

    Yo know what, you are absolutely right !

    I used your sample and I saw it working well, so I started digging on my workbook (still wasn't working).

    Turns out, it was pretty simple, I'd forgotten a sheet that was protected...! lol

    Thanks so much that'll save me a lot of clicks !

  8. #8
    Valued Forum Contributor
    Join Date
    06-22-2018
    Location
    Blackpool, England
    MS-Off Ver
    2019
    Posts
    408

    Re: Copy multiple Data validation to multiple Sheets

    No worries - glad we got there in the end!

    Don't forget to mark the thread [SOLVED] if that answers your query...

    If you feel it warrants it, you can show some appreciation for those who have helped by clicking the * to leave feedback.

    Tim

+ 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. [SOLVED] add or change data validation for multiple sheets in one go
    By rohit43 in forum Excel General
    Replies: 9
    Last Post: 02-24-2020, 11:34 PM
  2. data validation from multiple sheets
    By skyep2058 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 12-18-2018, 12:13 AM
  3. possible data validation from multiple sheets
    By skyep2058 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-17-2018, 01:09 AM
  4. Data Validation across multiple tabs or sheets
    By witenite in forum Excel General
    Replies: 2
    Last Post: 07-13-2017, 01:16 AM
  5. Data validation on multiple sheets.
    By emilyloz in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-01-2013, 09:58 AM
  6. [SOLVED] Data Validation Lists Across Multiple Sheets
    By mosswood17 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-29-2013, 08:49 PM
  7. Replies: 8
    Last Post: 06-14-2011, 06:09 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