VBA Copy Paste Data into Excel from Project
问题 I'm running the code below and getting spurious results. For some reason it copies five lines of code into the desired worksheet instead of the specified MS Project data. Can Anyone help out a newbie? Five lines of code incorrectly copied into Excel worksheet: 'Open MS Project file projApp.Application.FileOpenEx "C:File.mpp" Set projApp = projApp.ActiveProject 'Final set up of code Set projApp = Nothing Sub OpenProjectCopyPasteData() Dim appProj As MSProject.Application Dim aProg As MSProject