'Resize selected objects
Sub Main

'Create Grapher as an Object
Dim Grapher As Object

'Start Grapher
Set Grapher = CreateObject("Grapher.Application")

Grapher.Visible = True

'Create a new document window
Set Plot = Grapher.Documents.Active

'Set the Shapes object -- this will be used to count the number of objects later
Set Shapes = Plot.Shapes

'Loop through all objects on the page looking for a graph
For i = 1 To Shapes.Count
	Debug.Print Shapes.Item(i).Type
    If Shapes.Item(i).Type = 14 Then
        'If it finds a graph, change the width and height
        'To set a different size, change the numbers in () after .width and .height
        Shapes.Item(i).Width(5)
        Shapes.Item(i).Height(10)
    End If
'Go to next object
Next i
'All graphs have now been changed

End Sub
