+ Reply to Thread
Results 1 to 2 of 2

Get Current Year

  1. #1
    Registered User
    Join Date
    06-29-2005
    Posts
    46

    Get Current Year

    Hi,

    I'm writing a macro that edits the footer, and as part of the footer, I wanted to include the current year, preferably as a variable. If possible, what is the variable I can use to get the year, and if not, is ther another solution? Thanks.

    Raman

  2. #2
    Trevor Shuttleworth
    Guest

    Re: Get Current Year

    Raman

    Dim iYear as Integer
    iYear = Year(Now)

    Regards

    Trevor


    "Raman325" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Hi,
    >
    > I'm writing a macro that edits the footer, and as part of the footer, I
    > wanted to include the current year, preferably as a variable. If
    > possible, what is the variable I can use to get the year, and if not,
    > is ther another solution? Thanks.
    >
    > Raman
    >
    >
    > --
    > Raman325
    > ------------------------------------------------------------------------
    > Raman325's Profile:
    > http://www.excelforum.com/member.php...o&userid=24748
    > View this thread: http://www.excelforum.com/showthread...hreadid=542655
    >




+ 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