?
Solved

Dictionary Object Please Help.

Posted on 2000-03-22
1
Medium Priority
?
136 Views
Last Modified: 2010-05-02
Hi everyone. I am trying to use Dictionary Object having a Tons of problems. I am trying to add strings to it. If string holds a value i save it, i aslo save it to it if strings is empty. THen i need to loop though these empty once and show them on screen. Someone knows how this can be done ? Please show me how. Thanks.
0
Comment
Question by:vbRetard
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 2

Accepted Solution

by:
corvanderlinden earned 120 total points
ID: 2648367
Dim x As Dictionary
Dim a
Dim i As Integer

Set x = New Dictionary

x.Add "0", ""
x.Add "1", ""

a = x.Keys

For i = 0 To x.Count - 1
  If x(a(i)) = "" Then Debug.Print "Empty"
Next
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Suggested Courses

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question