+ Reply to Thread
Results 1 to 10 of 10

VBA CODE to Copy Paster data from one sheet to other sheet on a daily basis

  1. #1
    Registered User
    Join Date
    08-21-2009
    Location
    Chennai,India
    MS-Off Ver
    Excel 2013
    Posts
    82

    Post VBA CODE to Copy Paster data from one sheet to other sheet on a daily basis

    Hi all,

    Could any one please help me.

    We used to have a extract data which will change on a daily basis.

    But I want to see the trend of the same for a month.

    The data looks like

    Unit----- period------- Amt

    Product will remain unchanged but period and the amount changes on a daily basis
    While I want to see the trend .

    I want to see the data gets pasted on a daily basis one after the other.

    Herewith i have attached the sample sheet where in the before sheet we will extract the data daily which will change on a daily basis .

    I want the after sheet to capture the data and paste the data one after the other as it was on the sheet.

    hope this helps.

    Thanks a lot.
    Attached Files Attached Files

  2. #2
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,824

    Re: VBA CODE to Copy Paster data from one sheet to other sheet on a daily basis

    Try this macro. Change the sheet names to suit your needs.
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    08-21-2009
    Location
    Chennai,India
    MS-Off Ver
    Excel 2013
    Posts
    82

    Re: VBA CODE to Copy Paster data from one sheet to other sheet on a daily basis

    Thanks for the assistance,

    The Coding is not working it shows error as

    "Object Variable or With Variable not set" while trying to run the Macro.

  4. #4
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,824

    Re: VBA CODE to Copy Paster data from one sheet to other sheet on a daily basis

    Try the attached file. Click the button. Is this what you want?
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    08-21-2009
    Location
    Chennai,India
    MS-Off Ver
    Excel 2013
    Posts
    82

    Re: VBA CODE to Copy Paster data from one sheet to other sheet on a daily basis

    Hi Mumps1,

    Thanks a lot for the help the Coding is working very fine.

    Regards,

    Aravind

  6. #6
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,824

    Re: VBA CODE to Copy Paster data from one sheet to other sheet on a daily basis

    My pleasure!

  7. #7
    Registered User
    Join Date
    08-21-2009
    Location
    Chennai,India
    MS-Off Ver
    Excel 2013
    Posts
    82

    Re: VBA CODE to Copy Paster data from one sheet to other sheet on a daily basis

    Hi Mumps1,

    The coding is not working when there is no data in the after sheet.

    When I am trying to paste the data for the first time it's not working
    Once I pasted the data manually it works.

    Could you please help me by providing the code for pasting the data from the first time itself .

    Thanks in advance

  8. #8
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,824

    Re: VBA CODE to Copy Paster data from one sheet to other sheet on a daily basis

    Hi Aravind. Please try this macro:
    Please Login or Register  to view this content.

  9. #9
    Registered User
    Join Date
    08-21-2009
    Location
    Chennai,India
    MS-Off Ver
    Excel 2013
    Posts
    82

    Re: VBA CODE to Copy Paster data from one sheet to other sheet on a daily basis

    Hi Mumps1,

    Thanks a lot for the coding this is working very fine.

  10. #10
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,824

    Re: VBA CODE to Copy Paster data from one sheet to other sheet on a daily basis

    Glad it worked out.

+ 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. VBA coding to copy paste data on a daily basis to view the trend
    By aravindkm in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-10-2013, 06:22 AM
  2. Replies: 1
    Last Post: 03-28-2013, 02:49 PM
  3. Replies: 2
    Last Post: 03-23-2013, 03:54 PM
  4. Replies: 8
    Last Post: 10-12-2012, 12:35 PM
  5. copy the data on basis of ID match in a Single sheet
    By ravinder_tigh in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-15-2009, 07:09 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