+ Reply to Thread
Results 1 to 3 of 3

Required vba code exlcel sheet automatic closed when specify date passed

  1. #1
    Forum Contributor
    Join Date
    06-16-2018
    Location
    India
    MS-Off Ver
    2019
    Posts
    174

    Required vba code exlcel sheet automatic closed when specify date passed

    Dear All,

    I want to vba code ,
    If I give a date in the vba code, then that file should not be open when that date starts.

    for example :
    i give in vba code date is : - 10-Dec-2020

    when 10-Dec-2020 is system date then the excel file should not open that day and in the future after 10-dec-2020.

    should be open by 09-Dec-2020

    open after password is "SUBHASH"

    can is possible ?

    Thank you all in advance..
    Last edited by sbvaram; 12-05-2020 at 01:51 AM.

  2. #2
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: Required vba code exlcel sheet automatic closed when specify date passed

    try below Workbook_Open event

    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by samba_ravi; 12-05-2020 at 02:07 AM.
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  3. #3
    Forum Contributor
    Join Date
    06-16-2018
    Location
    India
    MS-Off Ver
    2019
    Posts
    174

    Re: Required vba code exlcel sheet automatic closed when specify date passed

    waw,, perfect working sir...

    sir, one small request, when i type password in input box then display the password, i want cant display password view only ******* ( star ) characters..

    this is possible sir?

    pls help. & thank you again for your fast reply.
    Last edited by sbvaram; 12-05-2020 at 10:19 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. Protect all columns the date has passed with vba code
    By KIBAAKO in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-16-2018, 08:24 AM
  2. Only Run Code if a date has passed
    By Cupragsw in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-08-2014, 09:09 AM
  3. Lock cells after Today's date passed (VBA excel code)
    By rt1306 in forum Excel Programming / VBA / Macros
    Replies: 22
    Last Post: 05-16-2013, 12:06 PM
  4. [SOLVED] Help with code to delete a row if todays date has passed
    By nje in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 02-05-2013, 04:11 AM
  5. Lock the sheet once date is passed
    By anwitha in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 12-11-2011, 01:55 AM
  6. Lock cells after Today's date passed (VBA excel code)
    By rt1306 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-27-2009, 01:59 PM
  7. Macro required to send a specific email after a date has passed
    By philiasfogg in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-12-2009, 05:32 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