+ Reply to Thread
Results 1 to 13 of 13

Vba macro code to put year down one by one in the given excel sheet

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

    Vba macro code to put year down one by one in the given excel sheet

    Dear Sir / madam,
    I need VBA Macro coding for the output to be appeared like given in the excel sheet, In which I need all the years to appear down one by one along with its months and days. I have attached the excel sheet with this post for your kind reference and perusal and also I did manually for your easy understanding... Like this I have to do for 500 files. Please do help me…

    Please oblige and do the needful…
    Thanks & Regards,
    Dharani Suresh.step 2.xls
    Last edited by Dharani Suresh; 08-14-2013 at 03:57 AM. Reason: title editing

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: Vba macro code

    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution.

    Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.

    To change a Title on your post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

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

    Re: Vba macro code

    Quote Originally Posted by :) Sixthsense :) View Post
    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution.


    To change a Title on your post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.
    k admin... I will follow your suggestions...
    Thank you...

  4. #4
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: Vba macro code to put year down one by one in the given excel sheet

    Thanks for the correction in Thread Title.

    But I am unable to understanding what needs to be done in that workbook and based on what

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

    Re: Vba macro code to put year down one by one in the given excel sheet

    Quote Originally Posted by :) Sixthsense :) View Post
    Thanks for the correction in Thread Title.

    But I am unable to understanding what needs to be done in that workbook and based on what
    Dear Sixth Sense,
    I need the output to be with the year one by one down(along with its months and days). i have did manually in the excel sheet please down and see you will understand. like this i have to do for 500 files. please help me... i need very urgently..

    rgds,
    dharani.

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

    Re: Vba macro code to put year down one by one in the given excel sheet

    please ladies and gentlemen, somebody help me answer for this post.. i need it very urgently...

  7. #7
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: Vba macro code to put year down one by one in the given excel sheet

    Still your query is unclear to me...

    You may be very clear about your requirement but for us it is a new set of data and without any clear description about what you want and the logic about how it's very hard for us to understand.

  8. #8
    Forum Expert
    Join Date
    02-14-2009
    Location
    .
    MS-Off Ver
    ................
    Posts
    2,840

    Re: Vba macro code to put year down one by one in the given excel sheet


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

    Re: Vba macro code to put year down one by one in the given excel sheet

    Quote Originally Posted by :) Sixthsense :) View Post
    Still your query is unclear to me...

    You may be very clear about your requirement but for us it is a new set of data and without any clear description about what you want and the logic about how it's very hard for us to understand.
    Dear Sixth Sense,
    Thanks for the reply... I think if u see the attached excel file you can understand easily.. where I have did manually. Dear sixthsense, In my file I need all the years to appear down one by one along with its months and days which I have done very clearly in the attached excel file. please do refer that for your kind reference and easy understanding.. again I m attaching the file exclusively for your kind reference..

    AWAITING FOR A POSITIVE REPLY FROM YOU..

    Thanks & Regards,
    Dharani.
    Attached Files Attached Files

  10. #10
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: Vba macro code to put year down one by one in the given excel sheet

    I hope this is what you are looking for...

    Please Login or Register  to view this content.
    How to install your new code
    1. Copy the Excel VBA code
    2. Select the workbook in which you want to store the Excel VBA code
    3. Press Alt+F11 to open the Visual Basic Editor
    4. Choose Insert > Module
    5. Edit > Paste the macro into the module that appeared
    6. Close the VBEditor
    7. Save your workbook (Excel 2007+ select a macro-enabled file format, like *.xlsm)

    To run the Excel VBA code:
    1. Press Alt-F8 to open the macro list
    2. Select a macro in the list
    3. Click the Run button

  11. #11
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: Vba macro code to put year down one by one in the given excel sheet

    @ cytop,

    Thanks for the intimation about the duplicate post.. but I don't know which one I have to call as duplicate post whether this one or that one



    @ Dharani Suresh,

    Please don't duplicate the post..........

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

    Re: Vba macro code to put year down one by one in the given excel sheet

    [QUOTE= Sixthsense ;3367945]I hope this is what you are looking for...

    Please Login or Register  to view this content.
    QUOTE]

    Dear Sixth Sense,
    Thank you so much for the apt answer... My heartfelt thanks to you.. you saved me..
    Thank you so much...

    but what do you mean by duplicating the post??????? sorry I cannot understand.. I am not doing that... often I am getting this comment.. please help with this, so that from next time I will not do this..

    Thanks & Regards,
    Dharani.

  13. #13
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: Vba macro code to put year down one by one in the given excel sheet

    Glad it helps you and thanks for the feedback and rep

    Regarding Duplicating of Thread please follow the link posted by cytop in Post #8 of this thread.

    At the same time please don't quote whole posts -- it's just clutter. If you are responding to a post out of sequence, limit quoted content to a few relevant lines that makes clear to whom and what you are responding.

+ 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. Replies: 0
    Last Post: 05-06-2013, 05:45 AM
  2. Macro code error: code is near complete
    By kashshaikh in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-17-2011, 03:22 PM
  3. VBA Code vs Macro Recording code
    By JoeSharp in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-10-2007, 11:17 AM
  4. [SOLVED] read macro code by vb code
    By Francesco Geri in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-07-2005, 06:05 AM
  5. [SOLVED] do anybody have a sample code for executing excel macro from vb code?<eom>
    By B Deepak in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-30-2005, 05:05 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