Guest_imported
New member
- Jan 1, 1970
- 0
i am trying to create a button in access 97 that will open a project 98 file and enter text from access fields in the headers and footers in project.
I am using the following code:
Dim projobj As MSProject.Application
Set projobj = CreateObject("msproject.application"
projobj.FileOpen "C:\Project1.mpp", True
projobj.Visible = True
' change the headers
projobj.FilePageSetupHeader
....
However, using projobj.filepagesetupheader I cannot seem to enter any information automatically. How can i overcome this?
I am using the following code:
Dim projobj As MSProject.Application
Set projobj = CreateObject("msproject.application"
projobj.FileOpen "C:\Project1.mpp", True
projobj.Visible = True
' change the headers
projobj.FilePageSetupHeader
....
However, using projobj.filepagesetupheader I cannot seem to enter any information automatically. How can i overcome this?