+ Reply to Thread
Results 1 to 12 of 12

Complex copy paste

  1. #1
    Forum Contributor
    Join Date
    05-01-2013
    Location
    IND
    MS-Off Ver
    Excel 2007
    Posts
    130

    Complex copy paste

    Case A I have two words (horse and cow) or two sentences ("x is good" and "y is fine but....")

    There are many rows between them with text (word or sentences) or numeric nunmbers. Even empty rows.

    If Case A is correct then copy the content between case A in a single cell in B200 with "Case" word in A200.

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs
    MS-Off Ver
    MS Office 365
    Posts
    20,720

    Re: Complex copy paste

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic

  3. #3
    Forum Contributor
    Join Date
    05-01-2013
    Location
    IND
    MS-Off Ver
    Excel 2007
    Posts
    130

    Re: Complex copy paste

    Please find the attachment.
    Attached Files Attached Files

  4. #4
    Forum Contributor
    Join Date
    05-01-2013
    Location
    IND
    MS-Off Ver
    Excel 2007
    Posts
    130

    Re: Complex copy paste

    Any solution ?

  5. #5
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    19,090

    Re: Complex copy paste

    Only for the data provided.
    Please Login or Register  to view this content.

  6. #6
    Forum Contributor
    Join Date
    05-01-2013
    Location
    IND
    MS-Off Ver
    Excel 2007
    Posts
    130

    Re: Complex copy paste

    JINDON I want to run the code in all sheets of the excel workbook except SheetA and SheetB.
    Last edited by sroysroy; 10-19-2015 at 02:16 PM.

  7. #7
    Forum Contributor
    Join Date
    05-01-2013
    Location
    IND
    MS-Off Ver
    Excel 2007
    Posts
    130

    Re: Complex copy paste

    Jindon the code has issue if i am changing it from txt = Join(Filter(ws.[transpose(if(a1:a50<>"",a1:a50,char(2)))], Chr(2), 0), vbLf)
    to txt = Join(Filter(ws.[transpose(if(a1:a500<>"",a1:a500,char(2)))], Chr(2), 0), vbLf)

  8. #8
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    19,090

    Re: Complex copy paste

    Quote Originally Posted by jindon View Post
    Only for the data provided.

    ......................................

  9. #9
    Forum Contributor
    Join Date
    05-01-2013
    Location
    IND
    MS-Off Ver
    Excel 2007
    Posts
    130

    Re: Complex copy paste

    But its a mock data

  10. #10
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    19,090

    Re: Complex copy paste

    That means nothing in this case.

    It is not a mock data, it's a lazy data, so I only worked with that specific data.

  11. #11
    Forum Contributor
    Join Date
    05-01-2013
    Location
    IND
    MS-Off Ver
    Excel 2007
    Posts
    130

    Re: Complex copy paste

    Anyway Thank you very much as you tried to help me. You are a valuable contributor to this forum.
    I marked this thread as solved.

  12. #12
    Forum Contributor
    Join Date
    05-01-2013
    Location
    IND
    MS-Off Ver
    Excel 2007
    Posts
    130

    Re: Complex copy paste

    jindon help me with this please.

+ 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] VBA code: complex search,copy and paste
    By sroysroy in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 08-18-2015, 12:50 AM
  2. [SOLVED] Help w/ complex copy paste using VBA
    By rucypher in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-03-2014, 12:42 PM
  3. Complex Copy Paste Delete With Various Rules
    By timbo1957 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-11-2014, 04:15 AM
  4. Replies: 2
    Last Post: 07-02-2013, 05:47 AM
  5. Complex Copy and Paste Macro
    By Jon Snow in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-17-2013, 05:33 AM
  6. Complex Copy and Paste Function
    By DewayAuggy in forum Excel General
    Replies: 2
    Last Post: 02-27-2012, 06:36 PM
  7. Complex Vlookup and paste
    By playtowinpb@msn.com in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-29-2011, 04:13 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