Dim nPixPerCentX As Single Dim nPixPerCentY As Single nPixPerCentX = Me.ScaleX(1, vbCentimeters, vbPixels) nPixPerCentY = Me.ScaleY(1, vbCentimeters, vbPixels)