E
Enrico
Hello, I'm open the MSProject, work,
but don't close correct MSProject because in the process WINPROJ.EXE is
always present.
What is The step correct for close MSProject ?
Dim Project As Object 'MSProject.Project
Dim ObjProject As Object 'MSProject.Application
Set Project = CreateObject("MSProject.Project")
Set ObjProject = Project.Application 'Set ObjProject =
CreateObject("MSProject.Application")
ObjProject.FileNew
..........
ObjProject.FileSaveAs (NomeFile)
ObjProject.FileClose 1
ObjProject.Quit
Set ObjProject = Nothing
Set Project = Nothing
but don't close correct MSProject because in the process WINPROJ.EXE is
always present.
What is The step correct for close MSProject ?
Dim Project As Object 'MSProject.Project
Dim ObjProject As Object 'MSProject.Application
Set Project = CreateObject("MSProject.Project")
Set ObjProject = Project.Application 'Set ObjProject =
CreateObject("MSProject.Application")
ObjProject.FileNew
..........
ObjProject.FileSaveAs (NomeFile)
ObjProject.FileClose 1
ObjProject.Quit
Set ObjProject = Nothing
Set Project = Nothing