+ Reply to Thread
Results 1 to 3 of 3

Excel VBA to print all the dates in a year along with the day.

  1. #1
    Forum Contributor
    Join Date
    06-05-2013
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2016
    Posts
    110

    Excel VBA to print all the dates in a year along with the day.

    Dear all,

    I have the following requirement with Dates.

    I would like to print the following for the year 2013 using excel VBA.

    Date Day
    01-JAN-13 Tuesday
    02-JAN-13 Wednesday

    goes on...

    30-DEC-13 Monday
    31-DEC-13 Tuesday

    Replace Monday, Tuesday... Friday with " Weekday "..
    Replace Saturday, Sunday with " Weekend "..

    I have the following code to print the Dates only:
    Please Login or Register  to view this content.
    Thanks,
    Vinod Krishna
    Last edited by Vinod Krishna.C; 07-24-2013 at 07:32 AM.

  2. #2
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: Excel VBA to print all the dates in a year along with the day.

    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    06-05-2013
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2016
    Posts
    110

    Re: Excel VBA to print all the dates in a year along with the day.

    Hi Daffodil11,

    Brilliant !!

    Just the code, i was looking for. Many thanks.

    Regards,
    Vinod Krishna

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. I want the dates to change automatically so I can print out a year's worth.
    By MrHappyGoLucky12 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-04-2013, 09:02 PM
  2. countif. dates in a year (year is the criteria)
    By barrfly in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-18-2010, 03:33 PM
  3. Replies: 1
    Last Post: 11-03-2005, 11:25 AM
  4. How can I use day of year dates in Excel?
    By jbradford721 in forum Excel General
    Replies: 2
    Last Post: 08-18-2005, 10:05 AM
  5. [SOLVED] how do I set dates every 3 cell for whole year in excel
    By viper in forum Excel General
    Replies: 1
    Last Post: 03-28-2005, 06:06 PM

Tags for this Thread

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