+ Reply to Thread
Results 1 to 9 of 9

Vba macro code for generating years along the side of days and also by removing the months

  1. #1
    Forum Contributor
    Join Date
    07-23-2013
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    106

    Vba macro code for generating years along the side of days and also by removing the months

    Respected Sir / Madam,
    Please do help me with the VBA macros code for generating the output given in the attached excel sheet.

    I need the output to be like this. that is,
    1) the months must be removed and
    2) in the left side, i must get the years till its end. and finally,
    3) the empty cells has to be removed. (since in few months we don’t have 31 days and i had yellowed the part for your easy understanding).

    pls generate code to give output like this.. please help me... I have done manually and I have attached the excel sheet for your kind reference and perusal. Like this I have to do for 65 files…

    please oblige and do the needful..
    Thanks & Regards,
    Dharani.


    PS.,
    hope I am not doing any mistake in this post...
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,516

    Re: Vba macro code for generating years along the side of days and also by removing the mo

    Not clear....
    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    07-23-2013
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    106

    Re: Vba macro code for generating years along the side of days and also by removing the mo

    Quote Originally Posted by jindon View Post
    Not clear....
    Please Login or Register  to view this content.
    Dear Jindon,

    Thank you for the quick response.. The answer you gave is exactly right … but it is giving only the half output what I required. It is not giving the second half what I required. Ya obviously I can understand it is little bit not clear only. For your kind reference and for easy understanding I’m attaching you the excel file by quoting my doubt little more clearly in that sheet.

    Awaiting for the positive reply..
    Thanks & Regards,
    Dharani.
    Attached Files Attached Files

  4. #4
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,516

    Re: Vba macro code for generating years along the side of days and also by removing the mo

    No idea about the numbers in Col.O.

  5. #5
    Forum Contributor
    Join Date
    07-23-2013
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    106

    Re: Vba macro code for generating years along the side of days and also by removing the mo

    Quote Originally Posted by jindon View Post
    No idea about the numbers in Col.O.
    Dear Jindon,
    Thanks for the reply... Numbers in the col O is the numbers as same as in the column A only.. from column A only I am asking you to remove the months name and empty cells and like col O only I need output....Hope u understand now.. I m not confusing you..

    AWAITING FOR A POSITIVE REPLY FROM YOU... I NEED IT VERY URGENTLY.. PLEASE HELP ME ....

  6. #6
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,516

    Re: Vba macro code for generating years along the side of days and also by removing the mo

    Please Login or Register  to view this content.

  7. #7
    Forum Contributor
    Join Date
    07-23-2013
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    106

    Re: Vba macro code for generating years along the side of days and also by removing the mo

    Quote Originally Posted by jindon View Post
    Please Login or Register  to view this content.
    Dear Jindon,
    Thank you for the apt answer.. thank for your great efforts... but sir please one more modification has to be made in the code. that is, in the output what your code is giving is right but in that column years are coming in between which I don't want ... ( it is enough if its come in the side only)please do this modification only and give me please...

    please oblige and o the needful...

    Thanks & Regards,
    Dharani.

  8. #8
    Forum Contributor
    Join Date
    07-23-2013
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    106

    Re: Vba macro code for generating years along the side of days and also by removing the mo

    Thank you jindon... for the effort u made to help me...

    Thanks & Regards,
    Dharani.

  9. #9
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,516

    Re: Vba macro code for generating years along the side of days and also by removing the mo

    I don't think I understand what you are trying to do, so wait for someonbe else to come in to help you.

  10. #10
    Forum Contributor
    Join Date
    07-23-2013
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    106

    Re: Vba macro code for generating years along the side of days and also by removing the mo

    Quote Originally Posted by jindon View Post
    I don't think I understand what you are trying to do, so wait for someonbe else to come in to help you.
    Dear Jindon,
    No problem Jindon, somehow the other I managed to complete my work with your code itself... and now I completed also.. thank you so much...

    Thanks & Regards,
    Dharani Suresh.

+ 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. convert Days to Years, Months, Days
    By Klaudebou in forum Excel General
    Replies: 4
    Last Post: 08-24-2014, 02:22 PM
  2. Convert days -> Years, Months, Days, Hours, Minutes, Seconds
    By brharrii in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 09-06-2012, 06:44 PM
  3. converting days to years,months,days
    By Cindylu3 in forum Excel General
    Replies: 3
    Last Post: 02-09-2009, 07:32 PM
  4. [SOLVED] Convert Years to Years/Months/Days
    By [email protected] in forum Excel General
    Replies: 4
    Last Post: 01-04-2006, 11:00 AM
  5. SUM Days (to 30), Months (to 12) and Years
    By an in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-23-2005, 10:25 AM

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