[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Dictionary Object Please Help.

Posted on 2000-03-22
1
Medium Priority
?
138 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
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 utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses

656 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