+ Reply to Thread
Results 1 to 4 of 4

Copy data into different every month

  1. #1
    Registered User
    Join Date
    08-27-2012
    Location
    Hyd
    MS-Off Ver
    Excel 2010
    Posts
    8

    Copy data into different every month

    Hi,

    Newbie to VBA, so could do with some help.

    "MonthData" has values populated from another excel sheet.
    I have to copy data from "MonthData" sheet to "Database" for each month to create a yearly database.

    Cell B1 in "MonthData" should be checked with 2nd row in "Database" sheet.

    I can basically run many times in April, but it should copy only into April column.
    And if i run in May, it should copy in May column in "Database".

    I tried doing it with formulae, but with no success.

    Thanks in advance for any help.
    Anjlive
    Attached Files Attached Files

  2. #2
    Forum Expert p24leclerc's Avatar
    Join Date
    07-05-2010
    Location
    Québec
    MS-Off Ver
    Excel 2021
    Posts
    2,081

    Re: Copy data into different every month

    Look at the attached workbook or here is a macro to do that:
    Please Login or Register  to view this content.
    It is not a fancy macro. You cannot insert lines in your sheets without modifying the macro
    but it should work just fine. If you have to frequently add or delete rows in your sheets,
    just tell us here and we'll change the macro.
    It actually copies only the month data. Do you want the budgeted data to be transfered as well?
    Can you do the modification by your own?
    If not, just tell us and we'll help you do it.
    Attached Files Attached Files
    Pierre Leclerc
    _______________________________________________________

    If you like the help you got,
    Click on the STAR "Add reputation" icon at the bottom.

  3. #3
    Registered User
    Join Date
    08-27-2012
    Location
    Hyd
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: Copy data into different every month

    Dear Pierre,
    Thanks alot for your help.. I will work on transferring budgeted data and if faced any error, will surely ask for help..


    Quote Originally Posted by p24leclerc View Post
    Look at the attached workbook or here is a macro to do that:
    Do you want the budgeted data to be transfered as well?
    Can you do the modification by your own?
    If not, just tell us and we'll help you do it.

  4. #4
    Registered User
    Join Date
    08-27-2012
    Location
    Hyd
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: Copy data into different every month

    Extended to budgeted values.. it works wonderfully. Thanks for all the help..

+ 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. copy & paste data of current month
    By KK1234 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-28-2014, 08:37 PM
  2. copy and paste data month to month
    By hotrod4571 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 02-23-2013, 01:23 PM
  3. [SOLVED] Look up Data by month copy and paste
    By mille1sj in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-30-2012, 11:31 AM
  4. copy data from sheet with dates that are within a month
    By Danimarie in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-16-2012, 07:01 AM
  5. copy and paste data with month criteria
    By pani_hcu in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-24-2011, 11:23 AM

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