ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Allocating "Don't Move or size with cells" property in code (https://www.excelbanter.com/excel-programming/295506-allocating-dont-move-size-cells-property-code.html)

Jim McLeod

Allocating "Don't Move or size with cells" property in code
 
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...

BrianB

Allocating "Don't Move or size with cells" property in code
 
Something like this :- (?)
Worksheets("Sheet1").Buttons(1).Placement = xlFreeFloatin

--
Message posted from http://www.ExcelForum.com



All times are GMT +1. The time now is 03:41 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com