Sets the title of the application to a designated value, or returns it to the standard title.


XlCall.Excel(XlCall.xlfAppTitle, yourTitle);

The application title will be set to the value you provide in parameter yourTitle. If yourTitle is not provided, the application title will return to the default Excel title.


The following example will set Excel's title to be "Long Live ExcelDna!":

XlCall.Excel(XlCall.xlfAppTitle, "Long Live ExcelDna!");

The following command will return Excel's title back to the default Excel title (e.g. "Microsoft Excel - Book1" on a UK-English machine with just the default book open).