
|
Book Home Page Bloglines 1906 CelebrateStadium 2006 OfficeZealot Scobleizer TechRepublic AskWoody SpyJournal Computers Software Microsoft Windows Excel FrontPage PowerPoint Outlook Word Host your Web site with PureHost! |
![]() Wednesday, April 16, 2008 – Permalink – Word RangesPre-defined locationsWhen entries are made in a document, Word creates a Story Range to identify what part of the document is being used. These ranges can be used in macros to search for items , change text, or other actions.
Sub HeaderFooterObject()
Microsoft KB VBA macro examples to insert text into a document See all Topics word <Doug Klippert@ 7:14 AM
Comments:
Post a Comment
Thursday, February 21, 2008 – Permalink – VBA, Named ArgumentsAn easier read
MsgBox(prompt[, buttons] [, title] [, helpfile, context]) When you work the MsgBox function this way, the order of the arguments can't be changed. Therefore, if you want to skip an optional argument that's between two arguments you're defining, you need to include a blank argument, such as: MsgBox "Hello World!", , "My Message Box" Named arguments allow you to create more descriptive code and define arguments in any order you wish. To use named arguments, simply type the argument name, followed by :=, and then the argument value. For instance, the previous statement can be rewritten as: MsgBox Title:="My Message Box", _ (To find out a function's named arguments, select the function in your code and press [F1].) See all Topics word Labels: VBA <Doug Klippert@ 7:59 AM
Comments:
Post a Comment
Sunday, December 16, 2007 – Permalink – Office VBA TricksVideo + Free codeQuick tips VBA Video "Learn tips and use sample code for several Office applications. These tips can help you to be more productive and can also be a starting point for developing your own tools, utilities and techniques."
Ten Tips for Office VBA Developers See all Topics word Labels: VBA <Doug Klippert@ 5:05 AM
Comments:
Post a Comment
Saturday, November 03, 2007 – Permalink – Automation - VBA - Help FileOffice Wide
See all Topics word Labels: VBA <Doug Klippert@ 6:51 AM
Comments:
Post a Comment
Sunday, September 16, 2007 – Permalink – Task Panes 2002-2003VBA at your own riskFrom the MVPS.org site: Word's Task Panes VBA Reference The Mother of All Task Pane articles By Steve Hudson
(Ctrl+Alt+-, can be used to remove an item from a menu. Type the shortcut and then click on a menu item) Also see: Task Pane Control See all Topics word Labels: VBA <Doug Klippert@ 6:42 AM
Comments:
Post a Comment
Tuesday, June 19, 2007 – Permalink – Indent CodeRealign a bunchIndenting blocks of VBA code, such as statements within loops or If...Then statements, makes reading a procedure much easier. You probably indent a code statement using the [Tab] key, and outdent by using [Shift][Tab]. However, you may not be aware that the [Tab] and [Shift][Tab] techniques also work when multiple code lines are selected. The Visual Basic Editor also provides Indent and Outdent buttons on the Edit toolbar that allow you to easily reposition blocks of code. See all Topics word Labels: VBA <Doug Klippert@ 6:28 AM
Comments:
Post a Comment
Saturday, March 31, 2007 – Permalink – Comment CodeEdit toolbar
<Doug Klippert@ 7:02 AM
Comments:
Post a Comment
|