What is the correct way to call ContainsCustomIcon?
In a macro I have the following code
For Each m_icon In m_topic.AllIcons Debug.Print m_icon.Name NextAnd the output is
Now I'm trying to query whether this icon is included
If m_topic.AllIcons.ContainsCustomIcon("CustomIcon--717189169") Then Debug.Print "yes" Else Debug.Print "no" End IfI always get a "no" no matter what text I pass (just the number, the icon file name, ...)
What do I really have to enter?
Thank you for your help!