Change caption in the Title Bar

How to change the caption in the Title Bar using VBA

METHOD 1. Change the caption in the Title Bar using VBA

VBA

Sub Change_Title_Bar_Caption()
'change the first caption of the Title Bar
ActiveWindow.Caption = "First Caption"
'change the second caption of the Title Bar
Application.Caption = "Second Caption"

End Sub

ADJUSTABLE PARAMETERS
Title Bar Caption: Select the Title Bar caption by changing the captions in the double quotation marks in the VBA code.

Explanation about how to change the caption in the Title Bar

EXPLANATION

EXPLANATION
This tutorial explains and provides step by step instructions on how to change caption in a workbook's Title Bar using VBA by referencing to the first and second components of the Title Bar's caption.

RELATED TOPICS

Related Topic Description Related Topic and Description
How to clear the caption in the Title Bar using VBA
How to display the current date and time in the Title Bar using VBA
How to display the current date and time in the Title Bar when opening a workbook using VBA
How to display the current date and time in the Title Bar when a workbook was last saved using VBA