+ Reply to Thread
Results 1 to 2 of 2

VBA code for entering a date/ensuring right format

  1. #1
    Registered User
    Join Date
    07-27-2020
    Location
    UK
    MS-Off Ver
    2016
    Posts
    7

    VBA code for entering a date/ensuring right format

    Hello everyone,

    I've been having some issues with coding the following:

    1 - If any input is entered into column Y, today's date should be automatically entered into column X on the same row. This should be the case for all rows within the spreadsheet


    2 - Also, within my spreadsheet there are a lot of date columns. I was just wondering if there's a 'checker' to allow only date inputs to be entered, and if there isn't one to put a flashing box/highlight the box with a colour to show it isnt in the right format?


    Thanks for any help!

  2. #2
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,265

    Re: VBA code for entering a date/ensuring right format

    Hi Towli...

    Welcome to the Forum...

    Please be so kind and read forum rules here...

    Your post does not comply with Rule No 5...
    5. Do not open more than ONE thread per issue here. Expect duplicates to be closed. (B)
    Duplicate thread here
    Good Luck
    I don't presume to know what I am doing, however, just like you, I too started somewhere...
    One-day, One-problem at a time!!!
    If you feel I have helped, please click on the star to left of post [Add Reputation]
    Also....add a comment if you like!!!!
    And remember...Mark Thread as Solved.
    Excel Forum Rocks!!!

+ 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. VBA code for entering a date/ensuring right format
    By Towli in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-28-2020, 04:57 AM
  2. [SOLVED] formula to make excel know which quarters by entering date format (d-mmm-yy)
    By chaiyya345 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 11-28-2019, 04:38 AM
  3. Force Cell format as General when entering in a date.
    By Miskondukt in forum Excel General
    Replies: 2
    Last Post: 12-03-2015, 03:46 PM
  4. [SOLVED] Code for ensuring the same data is not inputted into a column
    By Micuzzo in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-08-2013, 07:56 AM
  5. Ensuring that cells from different sheets are the same format
    By rjamesburr in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-23-2013, 04:32 PM
  6. VB Code For Recording Date When Entering Data
    By zirconium in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-18-2011, 02:26 PM
  7. Date off form textbox entering as US format not european
    By adam2308 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-03-2009, 08:21 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