Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Is it possible to get 'Custom File Properties' to show in excel headers and
footer? If, so how do you do this? |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Lets first set up a custom property called flosp and give it the value 666:
Sub firstone() Dim dp As DocumentProperties Set dp = ThisWorkbook.CustomDocumentProperties dp.Add Name:="flosp", _ LinkToContent:=False, _ Type:=msoPropertyTypeNumber, _ Value:=666 End Sub Next we set up the header: Sub nextone() n = ThisWorkbook.CustomDocumentProperties("flosp").Val ue ActiveSheet.PageSetup.LeftHeader = n End Sub -- Gary''s Student - gsnu200737 "Flosp" wrote: Is it possible to get 'Custom File Properties' to show in excel headers and footer? If, so how do you do this? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I display custom file properties in a cell | Excel Discussion (Misc queries) | |||
Can XLS automatically insert file properties fields into a header | Excel Worksheet Functions | |||
How can I using Excel custom document properties in the header? | Excel Worksheet Functions | |||
Custom File Properties | Excel Discussion (Misc queries) | |||
Can I display the file properties of a workbook in a custom headi. | Excel Worksheet Functions |