+ Reply to Thread
Results 1 to 6 of 6

Adding current date in next empty cell

  1. #1
    Registered User
    Join Date
    08-05-2011
    Location
    Kaavi
    MS-Off Ver
    Excel 2007
    Posts
    45

    Adding current date in next empty cell

    Hello,

    could you help me with this please?

    Is it possible to use macro-code that adds current date in wanted cell, and day after in the cell next to it.

    Like this;

    I run the macro, it adds todays date in cell AN23, tomorrow I run the code again, it adds tomorrows date in cell AO23, day after AP23 etc etc.

    Thanks in advance!
    Last edited by Crüe; 09-19-2011 at 07:25 AM.

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Adding current date in next empty cell

    Is there any data in the cells before AN23, i.e. does AL23 contain an entry?
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Registered User
    Join Date
    08-05-2011
    Location
    Kaavi
    MS-Off Ver
    Excel 2007
    Posts
    45

    Re: Adding current date in next empty cell

    Nope, there's nothing..

    I tried to modify this, it adds current date but always in the same cell 'cuz I dunno how to make it right

    Please Login or Register  to view this content.

  4. #4
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Adding current date in next empty cell

    Try this
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    08-05-2011
    Location
    Kaavi
    MS-Off Ver
    Excel 2007
    Posts
    45

    Re: Adding current date in next empty cell

    Oh my god! It works so great!! Thank you soooo much!!

  6. #6
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Adding current date in next empty cell

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save

    This code is slightly better

    Please Login or Register  to view this content.
    Last edited by royUK; 09-15-2011 at 08:43 AM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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