+ Reply to Thread
Results 1 to 8 of 8

paste method of worksheet class failed

Hybrid View

  1. #1
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,167

    Re: paste method of worksheet class failed

    Please explain some more. Which fields need to be filtered?

    What do you mean by paste into 146 x 3?
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  2. #2
    Forum Contributor
    Join Date
    07-10-2012
    Location
    Bangladesh
    MS-Off Ver
    Excel 2007
    Posts
    129

    Re: paste method of worksheet class failed

    Quote Originally Posted by arlu1201 View Post
    Please explain some more. Which fields need to be filtered?

    What do you mean by paste into 146 x 3?
    sir
    data have to paste sheet filter data is vijaywada
    select from b7 to bj152
    in before sheet select b4 to b441 and simpaly paste
    but for macro without giving instuction

    read this macro you will get idea

    Worksheets("Pool").Activate
       Selection.AutoFilter Field:=1, Criteria1:="=*Adilabad Nizmabad Kamaredey Pool*", Operator:=xlAnd
    Range("a6").select
    ActiveCell.EntireColumn.Select
    Cells.Find(What:="Adilabad Nizmabad Kamaredey Pool").Activate
        ActiveCell.Offset(0, 1).Range("A1").Select
        Range(Selection, Selection.End(xlDown)).Select
        Range(Selection, Selection.End(xltoright)).Select
    Selection.copy
    Worksheets("hq").Activate
       Selection.AutoFilter Field:=1, Criteria1:="=*Adilabad Nizmabad Kamaredey Pool*", Operator:=xlAnd
    Range("a6").select
    ActiveCell.EntireColumn.Select
    Cells.Find(What:="Adilabad Nizmabad Kamaredey Pool").Activate
        ActiveCell.Offset(0, 1).Range("A1").Select
        Range(Selection, Selection.End(xlDown)).Select
    Activesheet.Paste
    Last edited by arlu1201; 07-16-2012 at 05:24 AM. Reason: Use code tags in future.

+ 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