Experimente alterar esta linha para :
Código: Selecionar todos
For Each lblCtl In .Controls
If TypeName(lblCtl) = "Label" And Left(lblCtl.Name,7)="lblTemp"Then .Controls.Remove (lblCtl.Name)
Next
Código: Selecionar todos
For Each lblCtl In .Controls
If TypeName(lblCtl) = "Label" And Left(lblCtl.Name,7)="lblTemp"Then .Controls.Remove (lblCtl.Name)
Next