Share via

Document Filename V Document Title

Anonymous
2017-02-03T16:46:27+00:00

Hi,

I've tried searching and the results are inconclusive for the following scenario:

When a particular document is created, be it in excel or Word or PowerPoint, and then the file is saved and you give it a filename based on whatever criteria, say for example: ‘doc001-03-02-17.xlsx’

And the filename is then displayed at the top of the document [above the ribbon] when you have it open.

And say for example you go to file->info and under properties you add in a nice Title: ‘Weekly Report for admin staff 03-02-17 Draft’

My question is:

Is there a way to display the ‘Title’ from properties up at the top of the document, rather than the ‘Filename’ that is currently displayed?

For the life of me I cannot find any information or solution that would do this.

Any help is greatly appreciated.

Regards

Will

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

4 answers

Sort by: Most helpful
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  2. Anonymous
    2017-02-06T10:57:00+00:00

    Hi Gord,

    Thanks very much for the replies. sorry for not getting back sooner.

    ah, macro based. i was hoping it could be changed without having to do it in VBA. as the majority of users wouldn't know or probably trust the document to allow it to run.

    Side note: if it can only be done via VBA, i'll create an Add-in and allow the user to click on a button to show the title from the Ribbon.

    Side note 2: I'm surprise there isn't an option availble, If you've used sharepoint, they put the emphasis on using titles in document librarys, rather than the file name. (but thats for another forum area)

    Will

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2017-02-04T19:41:43+00:00

    Another point and amended code.

    If you also want to get rid of "Microsoft Excel"

    Private Sub Workbook_Open()

        Application.Caption = " "

        ActiveWindow.Caption = "Weekly Report for admin staff 03-02-17 Draft"

    End Sub

    Private Sub Workbook_BeforeClose(Cancel As Boolean)

        Application.Caption = ""

        ActiveWindow.Caption = ""

    End Sub

    Gord

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2017-02-03T19:52:13+00:00

    You can add this code to Thisworkbook module.

    Private Sub Workbook_Open()

          ActiveWindow.Caption = "Weekly Report for admin staff 03-02-17 Draft"

    End Sub

    Private Sub Workbook_BeforeClose(Cancel As Boolean)

          ActiveWindow.Caption = ""

    End Sub

    Gord

    Was this answer helpful?

    0 comments No comments