+ Reply to Thread
Results 1 to 6 of 6

prevent add new dates for new month and move to next sheet for a new month

  1. #1
    Forum Contributor
    Join Date
    01-08-2021
    Location
    Asia
    MS-Off Ver
    2016
    Posts
    292

    prevent add new dates for new month and move to next sheet for a new month

    hi all
    I have sheets' names begin from JAN TO DEC so I enter data each month when reach the end the date of month prevents me add by warning message " this month is closed , it should move to next sheet" and when press ok then automatically move to next sheet for instance in sheet JAN i write date in COL A the end of this month is 01/31/2021 and when try adding a new month "FEB" 02/01/2021/ then should show the message and move to the next sheet is FEB and so on for the rest of months in all sheets , each sheet specify one month when reaches to end date of month should move to next sheet
    Attached Files Attached Files

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

    Re: prevent add new dates for new month and move to next sheet for a new month

    So if the wrong month entry is entered on wrong month sheet?
    Please Login or Register  to view this content.
    Place code in ThisWorkbook Module...
    Last edited by sintek; 05-22-2021 at 08:44 AM.
    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!!!

  3. #3
    Forum Contributor
    Join Date
    01-08-2021
    Location
    Asia
    MS-Off Ver
    2016
    Posts
    292

    Re: prevent add new dates for new month and move to next sheet for a new month

    wow ! thanks buddy
    just curiosity if the sheet reaches end of month date then protect the sheet when reaches end of month date

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

    Re: prevent add new dates for new month and move to next sheet for a new month

    Something like this perhaps...Thanks for rep +
    Please Login or Register  to view this content.

  5. #5
    Forum Contributor
    Join Date
    01-08-2021
    Location
    Asia
    MS-Off Ver
    2016
    Posts
    292

    Re: prevent add new dates for new month and move to next sheet for a new month

    that's great ! thanks again

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

    Re: prevent add new dates for new month and move to next sheet for a new month

    Anytime....

+ 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: 1
    Last Post: 11-14-2018, 09:22 AM
  2. Sumif based on column headers from source tab that move month over month
    By VlookupMyName in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-17-2018, 07:10 PM
  3. [SOLVED] How to prevent pivot table breaking down dates (Month, Quarter, Year, etc)
    By loccy in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 09-28-2017, 01:44 AM
  4. Replies: 7
    Last Post: 05-26-2016, 01:49 PM
  5. [SOLVED] Calculation of days per month for dates beginning in one month and ending in another month
    By Fahrettin in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 12-07-2015, 04:52 PM
  6. [SOLVED] Is there a way to insert all dates for a month weekly when user inputs Month and a Year?
    By uniqbboy in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-11-2014, 10:40 AM
  7. find time left in month.days unit between two dates(in YEAR.MONTH.DAY)
    By xcfeng95 in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 02-21-2014, 12:55 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