
|
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! |
![]() 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 excel Labels: VBA <Doug Klippert@ 7:56 AM
Comments:
Post a Comment
Monday, December 17, 2007 – Permalink – Reset Shortcut MenuContext menu redo
Sub ResetShortcutMenu() Macros that Customize and Control Shortcut Menus See all Topics excel <Doug Klippert@ 5:15 AM
Comments:
Post a Comment
Sunday, December 16, 2007 – Permalink – Office VBA StuffVideo + 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 excel Labels: VBA <Doug Klippert@ 5:07 AM
Comments:
Post a Comment
Saturday, November 03, 2007 – Permalink – Automation - VBA - Help FileOffice Wide
See all Topics excel Labels: VBA <Doug Klippert@ 6:50 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 excel Labels: VBA <Doug Klippert@ 6:29 AM
Comments:
Post a Comment
Sunday, April 22, 2007 – Permalink – Numbers to WordsCardinal numbers
<Doug Klippert@ 6:36 AM
Comments:
Post a Comment
Friday, April 13, 2007 – Permalink – Select by CodeProgrammatically pick cells
Labels: VBA <Doug Klippert@ 6:46 AM
Comments:
Post a Comment
Saturday, March 31, 2007 – Permalink – Comment CodeEdit toolbar
<Doug Klippert@ 7:06 AM
Comments:
Post a Comment
|