+ Reply to Thread
Results 1 to 1 of 1

Incorporate Data Validation in Macro to enter Date

  1. #1
    Forum Contributor
    Join Date
    07-12-2018
    Location
    South Africa
    MS-Off Ver
    Office 2021
    Posts
    2,716

    Incorporate Data Validation in Macro to enter Date

    I have the following code below , which allow the user to enter a date in A3 on sheet "WML"


    I have set up data validation to only accept dates from Aug 2020 to Dec 2099


    However, when using the Macro to input the Data, it accepts any data

    The data validation to be incorporated into the macro must force the user to enter a valid month and year eg Aug 2020, July 2020

    Months such as Aug 20050 , July 20201 should not be accepted

    It would be appreciated if someone could assist me


    I have attached sample data


    Have posted a similar question on link below



    https://www.mrexcel.com/board/thread...-year.1146483/

    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by Howardc1001; 09-23-2020 at 06:35 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. Replies: 5
    Last Post: 10-03-2019, 07:23 PM
  2. [SOLVED] Read ( FRONT ) page data then transfer that data to the main data Sheet (OPEN)
    By Potholes in forum Excel Programming / VBA / Macros
    Replies: 24
    Last Post: 08-22-2019, 01:35 AM
  3. Replies: 37
    Last Post: 08-02-2019, 05:47 AM
  4. Replies: 2
    Last Post: 04-30-2017, 08:28 PM
  5. Replies: 11
    Last Post: 12-23-2014, 01:01 PM
  6. Replies: 34
    Last Post: 01-21-2014, 03:07 PM
  7. Searching data in 1 row, giving back data from column thats left to searched data
    By AmiGoCS in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-29-2012, 05:16 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