9/12/2023 0 Comments Best square macro definition![]() Once you have determined which shape you would like to create, grab either the shape textual name or the enumeration number. There are so many in fact, that I have painstakingly gone through and visually cataloged them for your ease in the below slide show. There are a TON of shape types available to you through VBA. 'Create & Store New Shape to Variable (use Enum Code) Set shp2 = (94, _Ĭontinue reading through the next few sections to learn how to determine the type, size, and position values you should be using to create your desired shape. 'Create & Store New Shape to Variable Set shp1 = (msoShape16pointStar, _ Here is a snippet of VBA code showing how to create 2 shapes and store the newly created shape to a variable for easy reference later on in your code.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |