+ Reply to Thread
Results 1 to 8 of 8

need help in copiyng the "entire coloum" macro.

  1. #1
    Forum Contributor
    Join Date
    07-17-2012
    Location
    India
    MS-Off Ver
    Excel 2016
    Posts
    715

    need help in copiyng the "entire coloum" macro.

    Hello,

    Please Login or Register  to view this content.

    I have a pivot table with lots of header in it. I copy selected column based on its header from Pivot and copy in another sheet. I created this macro which search the header but i am not able to copy the entire column. I need help to create a macro which can search the header and copy the column value.

    For Example, if column A3 has "Invoice Amount", then I need macro to search Invoice amount and copy the below the entire row from below. (I do not want to copy the header, just a cell value from below header till row 30.

    Regards,
    Shiva
    Last edited by shiva_reshs; 01-30-2013 at 06:55 PM. Reason: Solved

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,653

    Re: need help in copiyng the "entire coloum" macro.

    Try this. Change the destination to suit.

    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    07-17-2012
    Location
    India
    MS-Off Ver
    Excel 2016
    Posts
    715

    Re: need help in copiyng the "entire coloum" macro.

    Hi Alpha,

    Code does the perfect job , But could you help me here to modify the "paste destination"?

    Please Login or Register  to view this content.
    The code above, helps to search the blank row and paste it, when it paste the data in "Summary - Qtr". Any help on this plz

    Regards,
    Shiva

  4. #4
    Forum Contributor
    Join Date
    07-17-2012
    Location
    India
    MS-Off Ver
    Excel 2016
    Posts
    715

    Re: need help in copiyng the "entire coloum" macro.

    I was able to do it with below code

    Please Login or Register  to view this content.
    However, how can I make it Exact search? I mean to say, when it search for Invoice amount , I want Excel to search the exact word, and not a matching word in some other sentence.
    Regards,

  5. #5
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,653

    Re: need help in copiyng the "entire coloum" macro.

    Please Login or Register  to view this content.

  6. #6
    Forum Contributor
    Join Date
    07-17-2012
    Location
    India
    MS-Off Ver
    Excel 2016
    Posts
    715

    Re: need help in copiyng the "entire coloum" macro.

    Thanks, It worked.

    Any help on how Can I have only value to be pasted instead of Formula or formats from Pivot Table?

    I have added few columns with formula in it, next to Pivot table. When it searches the "invoices amount" and copy the entire row, it also copy the "#DIV/0!" (if any found) in the Summary - qtr sheet. I found below code, but does not seems to work. It still copy the #DIV/0! in summary sheet.

    Please Login or Register  to view this content.

  7. #7
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,653

    Re: need help in copiyng the "entire coloum" macro.

    Please Login or Register  to view this content.
    Last edited by AlphaFrog; 01-30-2013 at 06:08 PM.

  8. #8
    Forum Contributor
    Join Date
    07-17-2012
    Location
    India
    MS-Off Ver
    Excel 2016
    Posts
    715

    Re: need help in copiyng the "entire coloum" macro.

    Perfect!!!! Thank you so much for your help!!!!

    Regards,
    Shiva

+ 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