As far as I understand, this code “captures” only the first figure in the active window and pushes it:
Set oShape = oSlide.Shapes (1)oShape.Left = oShape.Left + 5
Set oShape = oSlide.Shapes (1)
oShape.Left = oShape.Left + 5
How can I “capture” all the shapes in the window and immediately push them?
You can probably iterate over the current slide Shapesto set each one.
Shapes
Dim oShape As Shape For Each oShape In oSlide.Shapes oShape.Left = oShape.Left + 5 Next
Source: https://habr.com/ru/post/1722506/More articles:A few PHP warnings in XSLTProcessor :: importStylesheet () - xmlsizeof (* this) in the header constructor implementation only - c ++What is a good and easy way to back up SVN repo to an FTP server? - svnHow to programmatically identify a file as a .NET assembly? - .netHow to relate the height of the Flex component to the height of the browser window? - user-interfaceie7 and ie8 ignore "margin: 0px auto;" - internet-explorer-8Lazy stream for C # /. NET - c #SQL row not breaking rows in gridview - sql-serverПредварительно загружать изображения с помощью мыши в Rails - javascriptVisio 2003: link arrow to connect 2 tables in ER database diagrams - databaseAll Articles