+ Reply to Thread
Results 1 to 2 of 2

Error with current date and time code

  1. #1
    Registered User
    Join Date
    12-29-2010
    Location
    Italy
    MS-Off Ver
    Excel 2003
    Posts
    34

    Error with current date and time code

    I use the below code to know the last modify.

    but every time that I open the sheet and the first time that I try to save it, a run-time error message appear.
    What can I do to resolve?

    Please Login or Register  to view this content.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,376

    Re: Error with current date and time code

    What error do you get and is the sheet protected?


    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


+ 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. Code to insert current date (but NOT current time)
    By mjwillyone in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-13-2013, 09:37 AM
  2. Replies: 1
    Last Post: 10-17-2012, 02:33 AM
  3. [SOLVED] add current time (hh:mm:ss) as well as current date (dd:mm:yyyy) into the code
    By papasideris in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-28-2012, 02:29 PM
  4. VBA Code for inserting snap shot of current date and time into text box
    By jamer02 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-16-2010, 07:19 AM
  5. [SOLVED] Can I automatically enter the current date or current time into a
    By Ben in forum Excel - New Users/Basics
    Replies: 7
    Last Post: 10-19-2005, 11:05 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