+ Reply to Thread
Results 1 to 3 of 3

Macro - ignore duplicates & skip blanks

  1. #1
    Registered User
    Join Date
    10-09-2014
    Location
    Boston, MA
    MS-Off Ver
    2007
    Posts
    13

    Macro - ignore duplicates & skip blanks

    Hi,

    I created a macro to create a new worksheet for a range, which is working as I want it to. There are two addtition elements I am trying to include but have been unsuccessful with:
    1. Ignore duplicates (if worksheet already for that value, ignore, and only create worksheets for new values)
    2. Ignore blank cells in the range (currently, it stops once it gets to the first blank...this is a nice to have, but I can live without as it continues to break the rest of the string).

    Below is where I have gotten to. I have tried a few variations, but continue to get error messages. Any additional help would be greatly appreciated!

    Please Login or Register  to view this content.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Macro - ignore duplicates & skip blanks

    Try this:
    Please Login or Register  to view this content.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    10-09-2014
    Location
    Boston, MA
    MS-Off Ver
    2007
    Posts
    13

    Re: Macro - ignore duplicates & skip blanks

    Thank you! That did the trick,works perfect now.

+ 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. [SOLVED] VBA Remove Duplicates From Column & Ignore Blanks
    By hobbiton73 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-26-2014, 04:56 AM
  2. VBA combo boxes (ignore blanks + avoid duplicates)
    By pbobadilla in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-12-2012, 05:44 PM
  3. Macro to AutoComplete but skip blanks
    By CindyGreen in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-12-2010, 02:36 PM
  4. [SOLVED] Count Duplicates in a range - skip blanks
    By jhahes in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-08-2006, 04:50 PM
  5. [SOLVED] Paste Special Skip Blanks not skipping blanks, but overwriting...
    By gsrosin in forum Excel General
    Replies: 0
    Last Post: 02-22-2005, 12:06 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