You declare a variable SH but use shp instead.
If you are running this code from Excel, it is not clear what ActivePresentation refers to.
Is PowerPoint supposed to be open when you run the macro? If so, it should look like this:
Sub picsize()
Dim PP As PowerPoint.Application
Dim PR As PowerPoint.Presentation
Dim SD As PowerPoint.Slide
Dim SH As PowerPoint.Shape
On Error Resume Next
Set PP = GetObject(Class:="PowerPoint.Application")
If PP Is Nothing Then
MsgBox "PowerPoint is not running!", vbExclamation
Exit Sub
End If
Set PR = PP.ActivePresentation
If PR Is Nothing Then
MsgBox "There is no active presentation in PowerPoint!", vbExclamation
Exit Sub
End If
Set SD = PR.Slides(1)
If SD Is Nothing Then
MsgBox "The active presentation doesn't contain any slides!", vbExclamation
Exit Sub
End If
Set SH = SD.Shapes(1)
If SH Is Nothing Then
MsgBox "The first slide doesn't contain any shapes!", vbExclamation
Exit Sub
End If
Debug.Print SH.Top
Debug.Print SH.Left
Debug.Print SH.Width
Debug.Print SH.Height
End Sub