Allocating "Don't Move or size with cells" property in code

J

Jim McLeod

Dear group

I'm dynamically adding controls to a worksheet using MSForms. However, does anybody know how to implement the "Don't Move or size with cells" propery in code (VBA or C#)

Best regards

Jim...
 
B

BrianB

Something like this :- (?)
Worksheets("Sheet1").Buttons(1).Placement = xlFreeFloatin
 
Top