+ Reply to Thread
Results 1 to 8 of 8

Export button

Hybrid View

  1. #1
    Registered User
    Join Date
    05-20-2011
    Location
    Oslo, Norway
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Export button

    Got it
    Thanks so much Pete

  2. #2
    Forum Expert snb's Avatar
    Join Date
    05-09-2010
    Location
    VBA
    MS-Off Ver
    Redhat
    Posts
    5,649

    Re: Export button

    This will do the same:

    Sub snb()
      with sheets("sheet1").cells(1).currentregion
        .autofilter 1,"="
        intersect(.offset,.offset(1)).copy sheets("sheet2").cells(rows.count,1).end(xlup).offset(1)
        .autofilter
      end with
    End Sub
    PS.. Adjust the sheetnames to those in the workbook
    Adjust the filtercriterion if necessary



+ 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