I have a userform with a multipage.
On page 2 of the MP I would like to add by code a collection of labels.
I have the following code:
(mpDonnées is the name of the multipage)
Dim Ctrls As Controls
Dim lbl As Label
Set Ctrls = Me.mpDonnées.Pages(2).Controls
'Label Variables
Set lbl = Ctrls.Add("Forms.Label.1", "lblVariables", True)
The last line give me a Type Incompatibility error.
Can some one help me ?