In the video I show that I use two macros, the first one folds and leaves it at 90cm.
Sub Duplicar_90x90()
Dim OrigSelection As ShapeRangeSet OrigSelection = ActiveSelectionRangeDim dup1 As ShapeRangeSet dup1 = OrigSelection.Duplicate(12.57195, 10.02878)dup1.Move 32.57195, 10.02878dup1.OrderToFrontDim dup2 As ShapeRangeSet dup2 = dup1.Duplicate(, -22.81105)dup2.Move 0#, -22.81105dup2.OrderToFrontActiveDocument.ReferencePoint = cdrCenterdup1.Stretch 2.25dup2.Stretch 2.25
End Sub
I need the bottom square to have its content reduced to 44.4%, I am doing this with another macro.
Sub Reducao_Percentual_444()
Dim OrigSelection As ShapeRange
Set OrigSelection = ActiveSelectionRange
ActiveDocument.ReferencePoint = cdrCenter
OrigSelection.Stretch 0.444
I want this to be done with just one macro.
Have you tried MS Copilot? Just copy & paste your code and include your question. See what it comes up with. If it doesn't work just keep telling copilot.
It's interesting, I was testing it, but many codes don't work in CoreldrawDo you know of any other site that does this?
Chatgpt. I haven't used it though.