Results 1 to 12 of 12

Something wrong with the Marco

Threaded View

  1. #1
    Forum Contributor
    Join Date
    12-06-2015
    Location
    Hong Kong
    MS-Off Ver
    Office 365
    Posts
    522

    Something wrong with the Marco

    Dear all

    I tried to make a Dynamic range, and it does not work on the code, i wonder what's wrong
    Can anyone be kind enough to help

    Thanks in advance

    Sub FilterMe8()
    '
    ' FilterMe8 Macro
    '

    Application.CutCopyMode = False
    Application.CutCopyMode = False
    Sheet2.Range("A5").CurrentRegion.AdvancedFilter Action:=xlFilterCopy,
    CriteriaRange:=sheet1.Range("F2:H3"), CopyToRange:=Sheet1.Range("A7:C7"), Unique:=False[/COLOR]
    End Sub

    My data starts at Sheet2 (data) "A5". and i want the it as a dynamic range

    Thanks
    Eric
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Macro exporting and saving the wrong page with wrong name
    By taylorsm in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-08-2018, 01:24 PM
  2. What is wrong with this Marco
    By tfilipe in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-25-2018, 08:06 PM
  3. [SOLVED] Wrong formula or wrong function?
    By cpope in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-08-2017, 10:27 AM
  4. How to create a Marco to run same Marco run on everysheet.
    By chriskingkiller in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-09-2013, 02:53 AM
  5. Wrong coding or RANDBETWEEN is wrong?
    By zbor in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 07-31-2013, 10:01 AM
  6. Autofilter in marco on wrong field
    By nzkazza in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-21-2012, 01:31 AM
  7. Run marco of a source file in the source file via marco of a master patch file
    By freeman6479 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-09-2012, 10:55 AM

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