Here's what I'm trying to do.
Set a custom document property ThisWorkbook.CustomDocumentProperties("_DOCPROPNAME") the name of a listbox (Listbox1).
Then when trying to refer to the listbox from a worksheet use
I know this will not work, but is something like this possible?
Set a custom document property ThisWorkbook.CustomDocumentProperties("_DOCPROPNAME") the name of a listbox (Listbox1).
Code:
ThisWorkbook.CustomDocumentProperties("_DOCPROPNAME") = "LISTBOX1"
Then when trying to refer to the listbox from a worksheet use
Code:
Userform1."ThisWorkbook.CustomDocumentProperties("_DOCPROPNAME")"
I know this will not work, but is something like this possible?