+ Reply to Thread
Results 1 to 3 of 3

type mismatch while trying to filter and copy rows and paste to another worksheet

  1. #1
    Registered User
    Join Date
    10-06-2011
    Location
    Salt Lake City, UT
    MS-Off Ver
    Excel 2010
    Posts
    78

    type mismatch while trying to filter and copy rows and paste to another worksheet

    I am trying to copy rows from a sheet to another sheet while filtering the rows by several criteria. I want to tell the program what column to look in on the first sheet and what value I want in that column. I use the following code to reference a module with a sub called "Copyrowsandpaste":

    Please Login or Register  to view this content.
    where S is the column and Completed is the desired value. The module functions when I have only one criteria:

    Please Login or Register  to view this content.
    But when I try to add other criteria, I get an error:

    Please Login or Register  to view this content.
    I get a type mismatch error. Any ideas how can I fix this error?


    Thank you!
    Attached Files Attached Files
    Last edited by perducci; 09-24-2012 at 01:51 PM. Reason: Clarification

  2. #2
    Registered User
    Join Date
    10-06-2011
    Location
    Salt Lake City, UT
    MS-Off Ver
    Excel 2010
    Posts
    78

    Re: type mismatch while trying to filter and copy rows and paste to another worksheet

    I attached the code to the first post! Please take a look!

  3. #3
    Registered User
    Join Date
    10-06-2011
    Location
    Salt Lake City, UT
    MS-Off Ver
    Excel 2010
    Posts
    78

    Re: type mismatch while trying to filter and copy rows and paste to another worksheet

    I still need help with this one. Perhaps there is another solution??

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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