+ Reply to Thread
Results 1 to 3 of 3

VBA to searc column for a value and copy the row(s) to another sheet when found

  1. #1
    Registered User
    Join Date
    05-31-2011
    Location
    Seattle, WA
    MS-Off Ver
    MS Office MAC 2011
    Posts
    10

    VBA to searc column for a value and copy the row(s) to another sheet when found

    Hi - Newbie here. I got the following code from the forums here and it is kind of working with exceptions:

    When i run the code it copies over just fine, but it is not pasting with the source formatting and is deleting the destination headings.

    Please help...

    See attached for details

    I am using the following:

    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by brockj; 04-23-2014 at 03:26 PM.

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2403 Win 11 Home 64 Bit
    Posts
    23,810

    Re: VBA to searc column for a value and copy the row(s) to another sheet when found

    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code.

    Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here



    (This thread should receive no further responses until this moderation request is fulfilled, as per Forum Rule 7)
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Registered User
    Join Date
    05-31-2011
    Location
    Seattle, WA
    MS-Off Ver
    MS Office MAC 2011
    Posts
    10

    Re: VBA to searc column for a value and copy the row(s) to another sheet when found

    Done. Thanks.

+ 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. [SOLVED] Copy row from one sheet and paste to another if a key word is found in 1 column of sheet 1
    By killdozer in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 04-17-2014, 02:27 PM
  2. Replies: 3
    Last Post: 03-31-2014, 01:00 PM
  3. 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
  4. Replies: 16
    Last Post: 01-20-2013, 09:40 AM
  5. Copy Row from Sheet 1 to Sheet 2 when a certain string is found in a cell
    By vizion9999 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-31-2012, 12:01 PM

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