
|
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! |
![]() Monday, February 01, 2010 – Permalink – Tips for Word and ExcelAlso some Windows hintsThis site has useful information about:
See all Topics word <Doug Klippert@ 3:33 AM
Comments:
Post a Comment
Sunday, January 17, 2010 – Permalink – Merge Word to PDFNot just MailMerge anymoreSure, you can create a merged letter and have 30 pages of individualized information.What now? How do you create separately named documents to, maybe, send as attachments? Another task might be to convert those 30 docs to PDF. Oh, the hours wasted! Graham Mayor, a retired newsgroup junkie, offers a solution. It's a macro that will convert the merged output as individually named doc(x), and/or PDF files. I've used it, and now wonder what I can do with the time I'm saving. ![]() ![]() GMayor.com Merge with Attachments See all Topics word <Doug Klippert@ 3:10 AM
Comments:
Post a Comment
Thursday, November 05, 2009 – Permalink – Change Code to CommentsFast solutionWhen you're testing procedures, you can temporarily convert a block of VBA code to comments that will be ignored during a trial run. Doing so manually by inserting an apostrophe before each line of code can be a real chore. To simplify this task,
See all Topics word Labels: VBA <Doug Klippert@ 3:43 AM
Comments:
Post a Comment
Saturday, September 12, 2009 – Permalink – Declaring Multiple VariablesDeclare each oneWhen setting up a macro in VBA, if you want to declare multiple variables in one line of code, be sure to specify the type for each variable, even if the variables are the same type. Avoid code like the following: Dim strFName, strLName, strMI As String In such a case, only the last variable, strMI, is actually declared as a String type. The first two variables are designated by default as Variant data types. To correctly declare the three variables, you would use the statement: Dim strFName As String, strLName As String, strMI As StringSee all Topics word Labels: VBA <Doug Klippert@ 3:56 AM
Comments:
Post a Comment
Thursday, August 06, 2009 – Permalink – Backup Your WordStand behind your documentsBackup/restore or transfer AutoCorrect, AutoText, Macros, and other critical files from one version of Word and Windows to another
MS Word's critical files Word comes with a supplemental macros template that includes the AutoCorrect Utility. The utility is used to backup and restore entries. If you only do the backup portion, it will create a regular Word document that you can print.. In Word 2002/2003: it's part of the support.dot (included on Office installation CD) AutoCorrect Utility Also: Export AutoCorrect See all Topics word <Doug Klippert@ 3:43 AM
Comments:
Post a Comment
Thursday, July 30, 2009 – Permalink – Protected Spell CheckerCorrect the protectedUnfortunately, Word's protection feature disables a huge number of important functions, even if you only protect a single section of a document. Besides the spellchecker, many other items on the View, Insert, Format, Tools and Table menus are disabled, as well as most items on the Drawing, Database, Visual Basic and Picture toolbars. This MS Word MVP FAQ Site article lays out the steps needed to Enable the spellchecker in a protected document. One of the important elements is "NoReset=True". The act of removing and then re-protecting a document will reset the data without this line.In Office 2007 Protection is found on the Review tab:
See all Topics word <Doug Klippert@ 3:03 AM
Comments:
Post a Comment
Wednesday, June 17, 2009 – Permalink – VBA Variable ProblemsExplicit protectionIt's good practice to always use the Option Explicit statement in the beginning of your code modules to ensure that all variables are unambiguously declared in your procedures. With this process in place, you'll receive a "Variable not defined" error if you try to execute code containing undeclared variables. Without this statement, it's possible to mistype variable names, which would be interpreted as new Variant type variables. This could severely impact the results of your code, and you might not ever know it. If you do find a problem, tracking down where the error is can be a chore. Although you can manually type the statement into your modules, changing a setting in Access can ensure that the statement is always added to new modules.
See all Topics word Labels: VBA <Doug Klippert@ 3:36 AM
Comments:
Post a Comment
Tuesday, March 31, 2009 – Permalink – Add Captions ProgramaticallyWhen the project seems overwhelmingFaced with a repetitive task, I often have to make the decision, do I do it by hand again and again? Or do I write or find a macro to do the heavy lifting? "Have you ever had a document with ten, twenty, or even 100 images, and then as an afterthought decided you wanted to add a caption to each of those images? This is an easy task through the user interface (UI). All you have to do is select each image, one at a time, and choose Insert, then Reference, then Caption. Unfortunately doing this through an image-heavy document is a boring chore and takes up a lot of time. Working with Word 2003 Images Programmatically See all Topics word <Doug Klippert@ 3:18 AM
Comments:
Post a Comment
Wednesday, February 04, 2009 – Permalink – Automate Word TablesVBA examples and instructionsThe Microsoft Developer's Network has a pretty comprehensive article on programmatically working with data and Word tables. "You can look at the world as split into applications that store data (databases) and applications that present information, such as Microsoft Office Word 2003 and Microsoft Office PowerPoint 2003. Increasingly, the end user demands to display database content in documents and presentations.
<Doug Klippert@ 3:07 AM
Comments:
Post a Comment
Wednesday, December 03, 2008 – Permalink – Start Menu ListList programsHere is an interesting macro, with instructions on how to install it and a template that can be downloaded. I recommend using the template to avoid the problems that can occur when pasting code. A Macro to List All Programs in the Windows Start Menu by Greg Chapman, MVP ![]() "TechTrax is a free, monthly Ezine (online magazine) published the beginning of each month. TechTrax is geared toward anyone who wants to learn more about using computers, with a highlight on Microsoft technologies. TechTrax also makes a point to focus on issues of accessibility. The range of overall subjects and user level articles here in TechTrax are far reaching to cover a wide audience. From newbie to black belt articles." See all Topics word <Doug Klippert@ 6:56 AM
Comments:
Post a Comment
Thursday, August 14, 2008 – Permalink – Sequentially Number DocumentsBudget0056.docHere's an example of how to use an external text file to record incremental numbering.
Labels: Customize, Fields, Formatting, Tips, VBA <Doug Klippert@ 4:00 AM
Comments:
Post a Comment
Friday, July 18, 2008 – Permalink – Signing MacrosSecurity levelsThere are three levels of Macro security:
"If you've used Access 2003, you've probably seen several security warning messages - Access 2003 cares about your security. An important part of Access 2003 security is digitally signing your code. As Rick Dobson shows, you can do it, but preparing for digital signing is critical. Also: Other links: <Doug Klippert@ 5:00 AM
Comments:
Post a Comment
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
|