+ Reply to Thread
Results 1 to 4 of 4

Data Validation Automation

  1. #1
    Registered User
    Join Date
    11-08-2019
    Location
    India
    MS-Off Ver
    2013
    Posts
    2

    Question Data Validation Automation

    Good Evening Folks,

    Is it possible to create a Macro, using the following Validation steps , and automate this process? If yes , please do guide or suggest on, How I can automate this below process - Thank you.

    Validation : Script Dev
    1. Click the Filter arrow in the # of Scripts Dev column and DESELECT the following:
    • 0
    • Blanks
    2. Click the Filter arrow in the Total HRS Script Dev and SELECT ONLY the following:
    • 0
    • Blanks
    3. For all remaining rows, enter “Missing HRS Script Dev” in the Fail Reason column
    4. Remove the filter from the Total HRS Script Dev column but leave the # of Scripts Dev filtered
    5. Click the Filter arrow in the Project Status column and DESELECT Script Dev
    6. For all remaining rows, enter “Invalid Project Status/Activity Combo” in the Fail Reason column
    7. Un-filter all columns
    8. Click the Filter arrow in the Total HRS Script Dev and DESELECT the following:
    • 0
    • Blanks
    9. Click the Filter arrow in the # of Scripts Dev column and SELECT ONLY the following:
    • 0
    • Blanks
    10. For all remaining rows, enter “Missing # of Scripts Dev” in the Fail Reason column
    11. Remove the filter from the # of Scripts Dev column but leave the Total HRS Script Dev filtered
    12. Click the Filter arrow in the Project Status column and DESELECT Script Dev
    13. For all remaining rows, enter “Invalid Project Status/Activity Combo” in the Fail Reason column
    14. Un-filter all columns
    15. Click the Filter arrow in the Project Status column and SELECT ONLY Script Dev
    16. Click the Filter arrow in the # of Scripts Dev column and SELECT ONLY the following:
    • 0
    • Blanks
    17. Click the Filter arrow in the Total HRS Scripts Dev column and SELECT ONLY the following:
    • 0
    • Blanks
    18. For all remaining rows, enter “Invalid Project Status/Activity Combo” in the Fail Reason column
    19. Un-filter all columns
    Last edited by sahib77; 03-29-2022 at 06:40 AM. Reason: Grammar

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

    Re: Data Validation Automation

    use the macro recorder and step though your requirement.
    Torachan,

    Mission statement; Promote the use of Tables, Outlaw the use of 'merged cells' and 'RowSource'.

  3. #3
    Registered User
    Join Date
    11-08-2019
    Location
    India
    MS-Off Ver
    2013
    Posts
    2

    Re: Data Validation Automation

    I am following through with the recorder it works until i reach an issue where , for a previously recorded condition the new validation step collides with an older condition.
    Example : Add a new column , Filter the first requirement - Enter and highlight comments - Missing HRS Script Dev , When going for the 2nd Validation requirement Invalid Project Status/Activity Combo, how do i add this in an existing mentioned issue , for example if 1 line item says " missing Hrs Script Dev how can i add Invalid Project Status/Activity Combo in the same cell for future data , as the Sheet is "Refreshable", Should i provide any attachment here?

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

    Re: Data Validation Automation

    without your workbook it is impossible to follow through, please see big yellow banner and upload your workbook.

+ 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] VBA to Prevent Data Entry in Cell with Data Validation List - Two Criteria Validation
    By AliGW in forum Excel Programming / VBA / Macros
    Replies: 21
    Last Post: 05-25-2019, 11:48 AM
  2. [SOLVED] address validation automation
    By ashok0141 in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 09-29-2018, 10:05 AM
  3. Replies: 1
    Last Post: 01-14-2018, 11:04 AM
  4. Multi-select from data validation isn't working with auto-assigning data validation
    By iPenguin in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-11-2017, 12:37 PM
  5. Replies: 0
    Last Post: 11-22-2013, 11:56 AM
  6. "automation error" when adding data validation
    By twd000 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 07-29-2010, 04:28 PM
  7. [SOLVED] automation error on Validation.Add
    By twd000 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-06-2009, 11:21 AM

Tags for this Thread

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