R
Radrizzi Gilles
Hi there,
Currently, I am developing an Add-In for Office Products which retrieves the
Header/Footer from a template file and copies that in the currently opened
document. This is a requirement from the company I work for as they request
all their documents to have the same Header/Footer.
So I can do it for Word, Excel, Powerpoint, Visio. All of these allow to
access the information stored in the Header/Footer using specific properties.
So I can open the template, retrieve the info and copy it to the currently
active document.
However, I can't seem to find something similar for MSProject. I am able to
SET a Header/Footer in the Active Document using the
FilePageSetupHeader/Footer methods, but I can't find a way to retrieve that
info from the template.
I read something about a blob of binary data called
"MSP_PROJECTS:RESERVED_BINARY_DATA" where this information is supposed to be
stored, but I have no idea where to find that. I'm not even sure if that is
still true as the post dated back to 2000.
Btw, I'm using MSProject 2002. The Add-In is a VB.NET Add-In.
I hope someone can help me with this.
Currently, I am developing an Add-In for Office Products which retrieves the
Header/Footer from a template file and copies that in the currently opened
document. This is a requirement from the company I work for as they request
all their documents to have the same Header/Footer.
So I can do it for Word, Excel, Powerpoint, Visio. All of these allow to
access the information stored in the Header/Footer using specific properties.
So I can open the template, retrieve the info and copy it to the currently
active document.
However, I can't seem to find something similar for MSProject. I am able to
SET a Header/Footer in the Active Document using the
FilePageSetupHeader/Footer methods, but I can't find a way to retrieve that
info from the template.
I read something about a blob of binary data called
"MSP_PROJECTS:RESERVED_BINARY_DATA" where this information is supposed to be
stored, but I have no idea where to find that. I'm not even sure if that is
still true as the post dated back to 2000.
Btw, I'm using MSProject 2002. The Add-In is a VB.NET Add-In.
I hope someone can help me with this.