Hi,
I'm working an a project where I try to convert a group of shapes to a picture and then delete the group. Shortly how I done so far:
(the s_text, s_header etc. are programmatically generated shapes)
Dim shpGroup As Shape
Set shpGroup = sales_sheet.Shapes.Range(Array(s_text.Name, s_header.Name, lastNote.Name)).Group
shpGroup.CopyPicture
sales_sheet.Pictures.Paste
shpGroup.Delete
This works well, but now I need to capture the newly pasted image (name of object) for further process. Any ideas how to proceed?
Thankful for all possible solutions!
br
Hakan
I'm working an a project where I try to convert a group of shapes to a picture and then delete the group. Shortly how I done so far:
(the s_text, s_header etc. are programmatically generated shapes)
Dim shpGroup As Shape
Set shpGroup = sales_sheet.Shapes.Range(Array(s_text.Name, s_header.Name, lastNote.Name)).Group
shpGroup.CopyPicture
sales_sheet.Pictures.Paste
shpGroup.Delete
This works well, but now I need to capture the newly pasted image (name of object) for further process. Any ideas how to proceed?
Thankful for all possible solutions!
br
Hakan