Altering Header/Footer/Legend

T

tschleiss

Hi-

I want to replace any instance of the ‘&[Date]’ format code in the Header,
Footer, or Legend with the string “[Date]â€, while leaving any other text
intact.

I’ve tried a replacement using:
FilePageSetupHeader Alignment:=pjLeft, Text:=Replace(Text, "&[Date]",
"[Date]")
But I don’t know how to access the Text in the Header…

Thanks
 
T

tschleiss

You’re right, ‘&[Date]’ is displayed as the current date in the project
header/footer/legend, but that’s what I’m trying to eliminate. I’m printing
a number of Project files, and the current date value needs to be replaced
with a value that indicates the Date format code exists, but doesn’t actually
generate the current date, which is why my replacement string is ‘[Date]’.
If the Header text is ‘write only’, I may be doing this manually…

Thanks for your help


Jan De Messemaeker said:
Hi,

IMHO this text is "write only"
but doesn't &date automatically get replaced by current date?
HTH

--
Jan De Messemaeker
Microsoft Project Most Valuable Professional
+32 495 300 620
For availability check:
http://users.online.be/prom-ade/Calendar.pdf
tschleiss said:
Hi-

I want to replace any instance of the '&[Date]' format code in the Header,
Footer, or Legend with the string "[Date]", while leaving any other text
intact.

I've tried a replacement using:
FilePageSetupHeader Alignment:=pjLeft, Text:=Replace(Text, "&[Date]",
"[Date]")
But I don't know how to access the Text in the Header.

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top