Skip to Content
Special Edition Using® Microsoft® Office 2003
book

Special Edition Using® Microsoft® Office 2003

by Ed Bott, Woody Leonhard
September 2003
Beginner to intermediate content levelBeginner to intermediate
1368 pages
56h 14m
English
Que
Content preview from Special Edition Using® Microsoft® Office 2003
1174
Chapter 43 Building Custom Applications with VBA
Displaying Messages in Excel with VBA
You can create a similar macro for Excel, but there’s no corresponding Document_New() event
to hook into. In Excel, you access the Subject text through this snippet of code:
ActiveWorkbook.BuiltinDocumentProperties(“Subject”)
MsgBox()
and InputBox() comprise the two major ways of displaying messages for users.
There’s a third, often overlooked, way: You can also display a message in the status bar, at
the bottom of the Word or Excel window. In Word, use the following code:
Statusbar = “Text to appear in the status bar”
For no apparent reason, Excel uses a slightly ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Special Edition Using Microsoft® Office XP

Special Edition Using Microsoft® Office XP

Ed Bott, Woody Leonhard
Special Edition Using Microsoft® PowerPoint® 2002

Special Edition Using Microsoft® PowerPoint® 2002

Patrice-Anne Rutledge, Tom Mucciolo

Publisher Resources

ISBN: 0789729555Purchase Link