Need Vba code to perform the "convert to shape" action

merlin777

Well-known Member
Joined
Aug 29, 2009
Messages
1,397
Office Version
  1. 2007
I'm posting for a fried (yes, I have a friend) who is compiling images of t-shirt comprising a t-shirt shape, RGB colour and print design. I coached him through making macros and now hes better at VBA than I am 🙄

He is stuck on something though. He needs Vba code to perform the "convert to shape" action that appears in graphics format or to import a svg vector image directly as office shape, matching format of the above converted to shape.
it slightly beyond me but I hope you might understand?
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
He's copied this description as what he's trying to do in VBA.

Convert an SVG image to an Office shape
Many SVG files (including Office icons) are single-color images. But you can disassemble an SVG file and customize individual parts of it by using the Convert to Shape option:

On the document canvas, right-click the image.

Select an individual piece of the image, then use the options on the Shape Format tab of the ribbon to modify it as you want.

Repeat step 2 for each piece of the image you want to modify.

(PowerPoint and Excel only) When you're done customizing the pieces, use Ctrl+click to select all of them. Then on the Shape Format tab on the ribbon, select Group > Group. This action joins the pieces together again as one object in case you subsequently need to move or resize the image as a whole.
 
Upvote 0

Forum statistics

Threads
1,214,590
Messages
6,120,421
Members
448,961
Latest member
nzskater

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top