When might Error 381 occur if I'm copying and pasting controls in Excel VBA?

Question

Grade: Education Subject: Support
When might Error 381 occur if I'm copying and pasting controls in Excel VBA?
Asked by:
76 Viewed 76 Answers

Answer (76)

Best Answer
(394)
If you're copying and pasting controls, Error 381 might occur if the destination location or the target container's properties are invalid for the pasted control. For instance, if you paste a control onto a UserForm and the control's default `.Top` or `.Left` property values are too large for the form, or if you're pasting to a worksheet where the cell references are invalid for positioning.