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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top