I draw a simple label control directly onto the excel worksheet. But I can’t seem to find any way to access it via code in the VBA editor. Is this even possible?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You may have drawn an ActiveX label or a Forms label. If it was the first label on the sheet then the following code will pick up the default “label1” name and either objActiveXLabel or objFormslabel will refer to your control
You could also experiment recording macros with the VBA recorder when inserting labels as this will give you pointers to the label type, and how to manipulate the label