![]() |
#4
|
|||
|
|||
![]()
The code works fine here but why not just change the selected shape?
Code:
Sub ChangeDimensionsOfSelectedShape() Dim oshp As Shape Dim newWidth As Integer Dim newHeight As Integer ' Set the new dimensions newWidth = 100 ' these do nothing newHeight = 50 ' these do nothing 'set osld to currenht slide Set oshp = ActiveWindow.Selection.ShapeRange(1) With oshp ' Change the dimensions of the shape .Width = 930 .Height = 428 .Left = 15 .Top = 77 End With End Sub |
Tags |
powe |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to change the internal wall dimensions for T room | mummy | Visio | 0 | 06-15-2017 09:23 PM |
How to change size / shape of a shape in a stencil | tomgoodell | Visio | 1 | 06-30-2016 04:40 AM |
![]() |
PKW57 | Word Tables | 2 | 05-26-2016 05:15 AM |
![]() |
FaizanRoshan | Word VBA | 7 | 10-18-2015 03:34 PM |
Determine if a shape is selected | Byron Polk | Word VBA | 2 | 08-06-2014 02:26 AM |