Hello,
I'm looking to write some code to automatically copy MS Project data into an Excel spreadsheet. I'm doing this so that all I need to do is grab an updated copy of the project and it will update the data and charts in my Excel spreadsheet. Having a bit of a difficult time. This is what I have thus far:
Application.DisplayAlerts = False
FileOpen Name:="File.ppt", ReadOnly:=False, FormatID:="MSProject.MPP"
FileSaveAs Name:="Export.xls", FormatID:="MSProject.XLS5", map:="Task ""Export Table"" map"
FileClose (pjDoNotSave)
Application.DisplayAlerts = True
End Sub
Any insight you could provide would be greatly appreciated!
- Ben
I'm looking to write some code to automatically copy MS Project data into an Excel spreadsheet. I'm doing this so that all I need to do is grab an updated copy of the project and it will update the data and charts in my Excel spreadsheet. Having a bit of a difficult time. This is what I have thus far:
Application.DisplayAlerts = False
FileOpen Name:="File.ppt", ReadOnly:=False, FormatID:="MSProject.MPP"
FileSaveAs Name:="Export.xls", FormatID:="MSProject.XLS5", map:="Task ""Export Table"" map"
FileClose (pjDoNotSave)
Application.DisplayAlerts = True
End Sub
Any insight you could provide would be greatly appreciated!
- Ben