You're welcome!
About the Selection Set Lifetime:
When you created a selection set like this:
Sub CreateSS()
Dim ss As AcadSelectionSet
Set ss = ThisDrawing.SelectionSets.Add("MySS")
End Sub
He gonna exist in your VBA project until the drawing is close, or until you delete it by that way:
Sub DeleteSS()
ThisDrawing.SelectionSets.Item("MySS").Delete
End Sub
You also can access the selection set using the created name with a "key" in other parts of you code (if you want) by that way:
Sub GetMySS()
Dim ss As AcadSelectionSet
Set ss = ThisDrawing.SelectionSets.Item("MySS")
End Sub
But to access by that way above, you need before create it like my first example code.
If you notice in function "FA_SLL" in my first post, first i delete a selection set named by "SS00" and after that i created another one with the same name. Obviously, you also can created several selection set with different names (or keys) in your drawing, and as i told: they gonna exist until this drawing is closed or until they are deleted.
About learning VBA for AutoCAD:
Well, about this subject in fact i don't have a 'good news' for you... Actually there are not many contents about it.
Personally i can recommend the AutoCAD ActiveX Developer Guide here: https://help.autodesk.com/view/OARX/2023/ENU/?guid=GUID-36BF58F3-537D-4B59-BEFE-2D0FEF5A4443
And another one is this book:
https://www.wiley.com/en-us/AutoCAD+Platform+Customization:+VBA-p-9781118798935
I have one and is awesome 🙂
And another tip (like every programming language) is use this forum and sometimes 'google' your doubt... Nothing too different in my onion.
I hope can help.