+ Reply to Thread
Results 1 to 2 of 2

Macro to copy data and paste to another worksheet if criteria met

Hybrid View

  1. #1
    Registered User
    Join Date
    01-24-2013
    Location
    Idaho, United States
    MS-Off Ver
    Excel 2010
    Posts
    2

    Macro to copy data and paste to another worksheet if criteria met

    Greetings,

    I have report that is unformatted and contains no headers. I need to copy certain cells and paste to another worksheet in the same workbook. I have made several attempts but cannot get it to function correctly. I am not new to excel but am to macros.



    Report Macro.xlsx

  2. #2
    Registered User
    Join Date
    01-24-2013
    Location
    Idaho, United States
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Macro to copy data and paste to another worksheet if criteria met

    Forgot to mention the data I need to copy/paste: In the example it would be:

    B7
    B10:B13
    C10:C13
    D7
    D10:D13 (these rows I need to split the value and date into two columns)
    F7 (only the B/G:B string)
    F9 (only the LEAD-IND:L string)

    The report continues with the same type of data formatted the same way for as many 1000 rows. There is not the same number of empty rows between the data throughout the report. and there is random data in between. Column A will always contain NDC if there is a number in the adjacent cell same with RX-Name in column C there will also be data in the adjacent cell D. There is always an emplty row above Field Name O.

    Is there a way to copy only the cells I need to another worksheet.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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