+ Reply to Thread
Results 1 to 2 of 2

Using Today() Function prompts a Save Dialog

  1. #1
    Registered User
    Join Date
    09-13-2017
    Location
    United States
    MS-Off Ver
    MS Office 365
    Posts
    43

    Using Today() Function prompts a Save Dialog

    Hi,

    I read that Today(), Now() and other similar functions are volatile functions. In my project, I have a cell, A1, containing this formula:
    Please Login or Register  to view this content.
    And if you add anything to B1, then A1 will fill in today's date.

    So I was wondering, if it is possible to create a vba that would not prompt a save dialog when the sheet is blank or no other value had been added to the sheet, but save automatically if say B1 or other cells contains a value. I was also hoping to add something like this in a beforeClose Event.

    Thank you!!
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    11-02-2011
    Location
    Rugby, England
    MS-Off Ver
    Office 365
    Posts
    853

    Re: Using Today() Function prompts a Save Dialog

    do you want the sheet to save automatically regardless of whether any changes have been made?
    If so, add this into the 'This Workbook' module
    Please Login or Register  to view this content.

+ 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. Word prompts to save template
    By GJL65 in forum Word Programming / VBA / Macros
    Replies: 4
    Last Post: 12-19-2016, 07:23 PM
  2. [SOLVED] Print to pdf and save without prompts
    By Mr Cockles in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-07-2006, 04:10 PM
  3. [SOLVED] Help - Excel Automation: Turning off all dialog boxes (prompts).
    By poochi in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-12-2006, 05:20 PM
  4. Disable Save & Update Prompts
    By miwarren in forum Excel General
    Replies: 1
    Last Post: 10-14-2005, 10:35 AM
  5. [SOLVED] Prompts to save changes when no changes made
    By Cat_in_awe in forum Excel General
    Replies: 5
    Last Post: 08-10-2005, 02:05 AM
  6. [SOLVED] Exiting Excel prompts for save
    By MXH in forum Excel General
    Replies: 3
    Last Post: 02-22-2005, 05:06 PM
  7. Save without prompts
    By Jeff in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-01-2005, 12:06 PM

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