+ Reply to Thread
Results 1 to 2 of 2

Help fixing date to be the past Thursday

  1. #1
    Registered User
    Join Date
    07-18-2006
    Posts
    73

    Help fixing date to be the past Thursday

    I was wondering if someone can help me, I know some people helped me to figure out the code so that it would come up with the date of "The most recent thursday", but now I need it to be the header of an email in a macro.

    This is what I have right now, but it is coming up with August 11th, instead of the 9th.

    .Subject = "Thursday Reports through " & Format(Date - Weekday(Today - 4), "mmm-d-yy")

    Is there something that is a little off?

    Thanks,

    ~J

  2. #2
    Bob Phillips
    Guest

    Re: Help fixing date to be the past Thursday

    Subject = "Thursday Reports through " & Format(Date - Weekday(Date - 4),
    "mmm-d-yy")

    --
    HTH

    Bob Phillips

    (replace somewhere in email address with gmail if mailing direct)

    "nbaj2k" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I was wondering if someone can help me, I know some people helped me to
    > figure out the code so that it would come up with the date of "The most
    > recent thursday", but now I need it to be the header of an email in a
    > macro.
    >
    > This is what I have right now, but it is coming up with August 11th,
    > instead of the 9th.
    >
    > Subject = "Thursday Reports through " & Format(Date - Weekday(Today -
    > 4), "mmm-d-yy")
    >
    > Is there something that is a little off?
    >
    > Thanks,
    >
    > ~J
    >
    >
    > --
    > nbaj2k
    > ------------------------------------------------------------------------
    > nbaj2k's Profile:

    http://www.excelforum.com/member.php...o&userid=36480
    > View this thread: http://www.excelforum.com/showthread...hreadid=571358
    >




+ 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