Created
July 18, 2014 07:32
-
-
Save tsohr/c0cb7ea4fefbc2d55b85 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sub myline(x1, x2, l) | |
Dim i As Integer | |
Dim shp As Shape | |
Dim sld As Slide | |
Set sld = Application.ActiveWindow.View.Slide | |
Set shp = sld.Shapes.AddShape(37, x1, 10 * l, x2 - x1, 0) | |
shp.Fill.ForeColor.RGB = RGB(137, 143, 75) | |
shp.Fill.BackColor.RGB = RGB(137, 143, 75) | |
shp.ShapeStyle = 10002 | |
End Sub |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
AddShape(37, ...) --> arrow shape
AddLine --> real line shape