Unfortunately, all my code goes the other way. I build an MPX file which is then opened by Project and can be saved as a native MPP file.
Use this as a sample. It merely prints the task names, duration, and start date. Remember you will need to set Microsoft Project as a reference.
Public Sub Proj()
Dim oProj As Object
Dim oTsk As Task
Dim MyAppID As Long
Set oProj = GetObject("f:\groups\sdv\dmats\scking\mpx\CPSG_MAFC_SCHEDULE_0199.MPX", "MSProject.Project"

If Err <> 0 Then
MyAppID = Shell("C:\Program Files\Microsoft Office\Office\WINPROJ.EXE", 1) ' Run Microsoft Word.
'AppActivate MyAppID ' Activate Microsoft
Set oProj = GetObject("f:\groups\sdv\dmats\scking\mpx\CPSG_MAFC_SCHEDULE_0199.MPX", "MSProject.Project"

End If
oProj.FileOpen Name:="f:\groups\sdv\dmats\scking\mpx\CPSG_MAFC_SCHEDULE_0199.MPX"
For Each oTsk In oProj.Tasks
Debug.Print oTsk.Name, oTsk.Duration, oTsk.Start
Next oTsk
End Sub
Steve King Growth follows a healthy professional curiosity