+ Reply to Thread
Results 1 to 4 of 4

Macro for doing a date stamp that isn't today

  1. #1
    Registered User
    Join Date
    10-10-2008
    Location
    London
    Posts
    6

    Macro for doing a date stamp that isn't today

    Hi All, I want to set up a macro that will input a date stamp for the working day before this one. I have to input the status of dozens of meeting rooms everyday and the checksheets that I work from are from the previous working day (So on a Monday, I want the Macro to enter Friday's date). I wanted to create a quick macro to save myself the hassle of entering the date for every entry and obviously, if I incorporate the TODAY() function it will update every time I open the workbook and give me the wrong date.

    I've been checking related threads and can't seem to find either a VB code or a function that'll enable me to do this (I haven't looked particularly hard as I'm at work ). Any help would be greatly appreciated.
    Last edited by Plaasboy; 11-10-2008 at 05:40 AM. Reason: SOLVED

  2. #2
    Registered User
    Join Date
    10-17-2006
    Location
    Belgium
    Posts
    13

    Last workday

    Plaasboy,

    Is this what you're looking for ?
    Please Login or Register  to view this content.
    OOPS :
    Should be :
    Please Login or Register  to view this content.

    Eddie
    Last edited by strep21; 10-27-2008 at 08:12 AM.

  3. #3
    Valued Forum Contributor mudraker's Avatar
    Join Date
    11-10-2003
    Location
    Melbourne, Australia
    Posts
    3,983
    try this function

    Please Login or Register  to view this content.
    Please Read Forum Rules Before Posting
    Wrap VBA code by selecting the code and clicking the # icon or Read This
    How To Cross Post politely

    Top Excel links for beginners to Experts

    If you are pleased with a member's answer then use the Scales icon to rate it
    If my reply has assisted or failed to assist you I welcome your Feedback.

  4. #4
    Registered User
    Join Date
    10-10-2008
    Location
    London
    Posts
    6
    That looks spot on guys, thanks a lot!

+ 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