Error Checking in Excel
Thanks Thanks:  0
Likes Likes:  0
Results 1 to 4 of 4

Thread: Adding dates within Excel automatically

  1. #1
    Guest

    Default

    Ok, the problem I am having is that I have created a basic macro to automatically add the date to my spreadsheet when a button is clicked. I used the short cut "Ctrl ;" to add the date but the problem is when i go to run the macro the next day it adds yesterday's date again. I was wondering if anyone knew how I could fix this problem? Thanks for your help, Bex

  2. #2
    Board Regular Steve Hartman's Avatar
    Join Date
    Feb 2002
    Location
    Houston,Texas
    Posts
    417
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    =TODAY() will put today's date in a cell whenever you open the workbook. Of course every time you open it, you will get that day's date.

  3. #3
    Board Regular Steve Hartman's Avatar
    Join Date
    Feb 2002
    Location
    Houston,Texas
    Posts
    417
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    Sorry, the word macro went right over my head. In VBA use DATE.

  4. #4
    Guest

    Default

    Thank you very much Steve, that was a great help, Bex

Some videos you may like

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •