+ Reply to Thread
Results 1 to 10 of 10

Copy row from one sheet to other sheet

  1. #1
    Registered User
    Join Date
    01-16-2014
    Location
    Bangalore
    MS-Off Ver
    Excel 2007
    Posts
    68

    Copy row from one sheet to other sheet

    I want to copy Range (A9:L9) in "Email Data" sheet in Demo workbook
    and
    paste in last row (i.e. B773 to M773 and date in A773 - here the date will increment from last row date) in "Data" sheet in Devices workbook
    and change both the graph in "Graph" sheet to contain last 20 days data in each graph in Devices Workbook

    Both the workbook attached for your reference

    Demo.xlsm

    Devices.xlsx

    Any help will be highly appreciated

    This should be accomplished by using VBA code by using the "Crash Copy" button in the "Email Data" sheet in Demo workbook

  2. #2
    Forum Expert
    Join Date
    07-15-2012
    Location
    Leghorn, Italy
    MS-Off Ver
    Excel 2010
    Posts
    3,431

    Re: Copy row from one sheet to other sheet

    Please Login or Register  to view this content.
    If solved remember to mark Thread as solved

  3. #3
    Registered User
    Join Date
    01-16-2014
    Location
    Bangalore
    MS-Off Ver
    Excel 2007
    Posts
    68

    Re: Copy row from one sheet to other sheet

    Quote Originally Posted by patel45 View Post
    Please Login or Register  to view this content.
    Works great but the can you please check the graph part also.

    Thanks in Advance .

  4. #4
    Forum Expert
    Join Date
    07-15-2012
    Location
    Leghorn, Italy
    MS-Off Ver
    Excel 2010
    Posts
    3,431

    Re: Copy row from one sheet to other sheet

    try with macro recorder

  5. #5
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 2019 on Win10 (desktop), 2019 on Win11 (notebook)
    Posts
    8,197

    Re: Copy row from one sheet to other sheet

    Hi, aakhan2011,

    I would suggest to have a look at Update Charts Automatically When You Enter New Data and work with named ranges in order to display the relevant data in a chart.

    Ciao,
    Holger
    Use Code-Tags for showing your code: [code] Your Code here [/code]
    Please mark your question Solved if there has been offered a solution that works fine for you

  6. #6
    Registered User
    Join Date
    01-16-2014
    Location
    Bangalore
    MS-Off Ver
    Excel 2007
    Posts
    68

    Re: Copy row from one sheet to other sheet

    Quote Originally Posted by patel45 View Post
    try with macro recorder
    I tried macro but i got the code containing hard-coded range for last 20 days . But i want it range to increment each day to get the new date . Code with macro is below. Can u do the change -
    Please Login or Register  to view this content.
    In the above code , the next day data will be
    Data!$G$2:$G$22
    Data!$M$2:$M$22
    Data!$A$2:$A$22

    Thanks in Advance.

  7. #7
    Forum Expert
    Join Date
    07-15-2012
    Location
    Leghorn, Italy
    MS-Off Ver
    Excel 2010
    Posts
    3,431

    Re: Copy row from one sheet to other sheet

    I think HaHoBe suggestion can solve better your issue

  8. #8
    Registered User
    Join Date
    01-16-2014
    Location
    Bangalore
    MS-Off Ver
    Excel 2007
    Posts
    68

    Re: Copy row from one sheet to other sheet

    Quote Originally Posted by patel45 View Post
    I think HaHoBe suggestion can solve better your issue
    Hey patel, Thanks for the reply. I checked the link given by HaHoBe but I didn't found useful for my graph. Can you please help me with the macro that i prepared ?

    Thanks in Advance .. :-)

  9. #9
    Forum Expert
    Join Date
    07-15-2012
    Location
    Leghorn, Italy
    MS-Off Ver
    Excel 2010
    Posts
    3,431

    Re: Copy row from one sheet to other sheet

    Quote Originally Posted by aakhan2011 View Post
    I checked the link given by HaHoBe but I didn't found useful for my graph
    why ? can you explain me ? I thing the link is very interesting
    Quote Originally Posted by aakhan2011 View Post
    Can you please help me with the macro that i prepared ?
    I'm sorry, i can not.

  10. #10
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 2019 on Win10 (desktop), 2019 on Win11 (notebook)
    Posts
    8,197

    Re: Copy row from one sheet to other sheet

    Hi, aakhan2011,

    I checked the link given by HaHoBe but I didn't found useful for my graph.
    The descirpition from John Walkenbach is accurate, although it´s tailored to suit the Excel Files until 2003. In 2007 you would need to use Tab Formulas to bring the Formula Manager up.

    Furthermore I´m surprised you passed the step to inform about the lack of information and started a new thread http://www.excelforum.com/excel-gene...-inserted.html - please have a thorough read at the Forum Rules about posting the same thread in different subforums.

    Ciao,
    Holger

+ 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: 2
    Last Post: 01-18-2014, 10:54 PM
  2. Lookup Value from Sheet 4 in Sheet 2, if found copy Sheet 2 Active Row to Sheet 5
    By lgosso23 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-11-2013, 02:51 PM
  3. [SOLVED] Copy and paste data from sheet 2 to sheet 1 based on specific criteria on sheet 1
    By VBADUD in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-05-2012, 04:18 AM
  4. Replies: 11
    Last Post: 10-14-2012, 01:03 PM
  5. [SOLVED] Macro to Copy Data from one Sheet A to Sheet B based on value in cell on sheet A
    By scass in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-11-2012, 07:21 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