+ Reply to Thread
Results 1 to 2 of 2

Copying data worksheet to worksheet

  1. #1
    Registered User
    Join Date
    09-15-2008
    Location
    Pennsylvania
    Posts
    9

    Copying data worksheet to worksheet

    Hi,

    I have a workbook with 2 sheets. Sheet 1 always overwrites the data it has with another macro. Sheet 2 (named: Data May '08 - ...) is updated with the data that sheet 1 has.

    I developed a code that lets me copy the updated data contained in sheet 1 (like doing ctrl+shift+8) and paste it to sheet 2 one row after the last used one. That is, if sheet 1 has data in range A1:AP2000, I need to copy that data (ctrl+shift+8 > ctrl+c). After that, if the last row used in sheet 2 was row 1832, then I must paste the copied data from sheet 1 in row 1833.

    In both sheets data begins in column A. The code seems to work, but somehow it isn't pasting all the information. By the way, paste must be a Paste Special > Values only.

    Hope you can help me with the code. Thank you!

    Here's the code:

    Please Login or Register  to view this content.

  2. #2
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591
    Hi

    Which column in your source data will always contain data in the last row? So if column D is the only one that will have data for every entry, then nominate that column.

    rylo

+ 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. How to retain previous data pulled from a dynamic worksheet
    By GTurley in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-13-2008, 10:08 AM
  2. Resolved >>> Copying values instead of formulas
    By derrickjon in forum Excel General
    Replies: 3
    Last Post: 10-24-2007, 04:14 PM
  3. Copying Cell Data From Multiple Worksheets to One Worksheet
    By blitzburgh in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-14-2007, 02:02 PM
  4. How to move specific data from one worksheet to another worksheet
    By treeskin in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-08-2007, 02:59 AM
  5. Help! Vba Copy Cell To Different Worksheet.
    By Dabooj in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-03-2006, 05:53 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