Your technology certification is waiting. Enroll in Cloud Class ®
.Add Name:="Var1", _
.Add Name:="Var2", _
MsgBox 6 / 0
Open in new window
The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.
One of a set of tools we're offering as a way of saying thank you for being a part of the community.
Function NameExists(nme As String) As Boolean
Dim n As Name
For Each n In Names
If nme = n.Name Then
NameExists = True
If Not NameExists("MyName1") Then
MsgBox "It's gone"
...evidently Bill Gates is too smart for me and wants to save me space by getting rid of a perfectly good name just because it has an empty string in it.
Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.
Have a better answer? Share it in a comment.
Please enter a first name
Please enter a last name
Must be at least 4 characters long.
Join and Comment
From novice to tech pro — start learning today.
Premium members can enroll in this course at no extra cost.