index > Visual Studio Tools for Office > How to change text on excel titlebar

How to change text on excel titlebar


Hi,

How can I change text on my excel sheet's title bar from my application ??

I tried setting
thisWorkbook.Title = DateTime.Now.Tostring();
but that did'nt change anything.

What property should I use ????
Thanks,

bilalso
Try the CAPTION property of the Excel application (ThisApplication for a VSTO project) object (it's read/write).


-- Cindy Meister (Word MVP)
Cindy Meister
reply 2

You can use google to search for other answers

 

More Articles

What are the difference between VSTO 2003 and VSTO 2005
Created a project, published it... but errors out on install.
Can I use v3 for Office 2003 and 12? Can v3 and v2 tools coexist...
How to invoke the events in Business Contact Manager(Outlook addi...
How do you get the handle to the main Word window?
Controlling Popup Menu in Word doc
Excel - Clear contents for a sheet
Big Trouble with Encrypted Emails in VSTO 2005
"RaceOnRCWCleanup was detected"
Excel Chart properties from VB.Net 2005
Welcome to Bokebb   New Update   Joins the collection  
 

New Articles

Shared Add-In VS2005
Word Objects Within XmlNode
RPC Server unavailable when opening new …
Error 0x80040F04 while Accessing Outlook…
Create worksheet with precoded events at…
Send Email using VS2005
batch conversion of excel files
Office Pro Small Business Edition & …
Automating Office using C++: Closing a …
Close word Document VSTO 2005
multiple windows again and again
Customizing a Smart Tag menu?
Create Buttons with a Loop and add an ev…
Before I go out and buy VSTO...
Retrieving an email's digital signature …

Hot Articles

Outlook 2003?
How to control the cell's datatype of Ex…
How can I auto-populate two MS Word docu…
OLE Embedded Object/Object Packager Auto…
Drag&Drop a usercontrol or an object…
How to cancel a delete of a folder ?
Retrieving Data from Excel Pivot tables …
Comments on VSTO Security Model
VSTO Word Template & Custom Menus/To…
Customization assembly could not be load…
Smart Tag aspect
Xml Toolbox issue
What could the ERROR be
How do I Edit Word Template in Visual St…
Odd behavior on explicitly calling a cus…

Recommend Articles

New line without bullet
Excel 2007 file saving
How to embed remote attachments into an …
ListOject Displaying updates on Excel ha…
New Workbook
Using Access in VB.net
Problem in Running VSTO Excel 2007 publi…
Error opening Dec CTP VSTO Project
Modifying the Office 2007 Ribbon
Accessing Excel Files in different versi…
How can I insert and work with images?
events not firing
Accessing Action Pane in Word Automation
Deployment problems
Microsoft.office.interop.word Option but…