+ Reply to Thread
Results 1 to 2 of 2

Type mismatch with range and removeduplicates

  1. #1
    Registered User
    Join Date
    10-25-2013
    Location
    sc
    MS-Off Ver
    Excel 2007
    Posts
    32

    Type mismatch with range and removeduplicates

    Hello All,

    I am trying to select a range in a worksheet and remove the duplicates from the range, but I keep getting a type mismatch error. I'm a novice with VBA so I'm not sure what that means. Please look at the following code below and let me know what I'm doing wrong.

    Please Login or Register  to view this content.

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Type mismatch with range and removeduplicates

    Try removing Set rng =.
    Please Login or Register  to view this content.
    If posting code please use code tags, see here.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. .Range.Value Type Mismatch Error
    By bishoposiris in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-02-2014, 10:27 AM
  2. [SOLVED] combobox range - type mismatch !
    By Lukael in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-09-2014, 04:25 PM
  3. Replies: 5
    Last Post: 07-27-2010, 10:58 AM
  4. [SOLVED] Type mismatch using rnge as Range with Type 8 Input Box
    By STEVE BELL in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 12-03-2005, 01:10 AM
  5. [SOLVED] Type mismatch on range name
    By davegb in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-08-2005, 02:05 PM

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