Question : VBA Excel


How do I make a reference to all autoshapes within a worksheet or workbook using VBA? I am wanting to change the properties so that they move and size with the cells, alternatively if there is anywhere where I can make this a default for all autoshapes without using VBA then that would be just as good.

Thanks
Matt

Answer : VBA Excel

Hi Matt,

To set AutoShape defaults (so that when you create them in the future they have the same properties), just create one of the AutoShapes in question and set it up with the correct properties. When that is done right click the shape and choose "Set AutoShape Defaults". This will then mean all future creations of that shape will have the same properties.

However this doesn't apply to existing shapes.

Cheers!
MalicUK.
Random Solutions  
 
programming4us programming4us