View Single Post
 
Old 08-30-2023, 06:54 AM
skarden skarden is offline Windows 10 Office 2010 64bit
Novice
 
Join Date: Dec 2011
Location: Orlando, FL
Posts: 27
skarden is on a distinguished road
Unhappy

Hey Greg:

I posted it here instead of asking you directly as I didn't want to bother you. But it's GREAT to see you are still so active. Hope all is well with you.

You just confirmed what I was afraid was true. What I'm actually trying to do is create a better BuildingBlock replacement where the document name is the "Template" name and in it I have a bunch of Content Controls where I'm using the CC's Tag to store a "Category" and BB's name like this: Category~Name. (Just BTW, I'm using the CC's title to indicate if this CC holds the BB's Description, Insert Method or Text). Since there could be many entries for each Category when I parse the Category out I then store it into a dictionary (dicCats) with the Category as the Key, first using an If test of:

If Not dicCats.Exists "[Parsed Category]" Then
dicCats.Add "[Parsed Category"], "1" 'Also, BTW, the value is actually meaningless to me
End if

When I go to populate my UserForm ListBox for the Topic's Categories I can just dump in the dicCats Keys.
Reply With Quote