dynamic add label to userform and click event

Vayder, Dean 0 Reputation points
2024-07-08T18:49:35.2366667+00:00

I want to dynamically add multiple labels to a userform and then capture the click event to run a macro based on the name of the label. I figured out how to add the labels but not the click event.

Thank you in advance. :-)

Excel
Excel
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
1,977 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
4,006 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.