Results 1 to 4 of 4

CreateObject("scripting.dictionary") Add Item Problem---->Empty Cells

Threaded View

HerryMarkowitz CreateObject("scripting.dictio... 08-15-2014, 04:55 PM
Norie Re:... 08-15-2014, 04:58 PM
jindon Re:... 08-15-2014, 05:01 PM
HerryMarkowitz Re:... 08-15-2014, 05:04 PM
  1. #3
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,834

    Re: CreateObject("scripting.dictionary") Add Item Problem---->Empty Cells

    Change
            If Not .exists(varitem) Then .Add varitem, Nothing
    to
            If Not IsEmpty(varitem) Then .Item(varitem) = Empty
    PS.

    I saw Norie's comment after I have posted this post.
    I think the thread title is clear enough....
    Last edited by jindon; 08-15-2014 at 05:04 PM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] How to understand and use CreateObject("Scripting.Dictionary")
    By Darthzo in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 04-03-2013, 07:21 PM
  2. Replies: 2
    Last Post: 01-03-2013, 04:32 PM
  3. Why does =countif(range,"<>""") count empty cells?
    By Ingeniero1 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-16-2008, 01:40 PM
  4. Replies: 4
    Last Post: 02-03-2008, 05:11 PM
  5. Odd "Scripting" Icon in Excel cells
    By Randy Brown in forum Excel General
    Replies: 0
    Last Post: 04-24-2006, 09:10 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