Sunday, April 17, 2016

VBA Help

From Microsoft


Here is a Help reference covering the vagaries of VBA.


Office VBA Language Reference


See all Topics

Monday, April 11, 2016

Save Clean Document

Protect your layout


Sometimes a Word document does not open as well laid out as you intended.

The page numbers may be off (the numbers may be repeated).

Formatting marks may be displayed (not a big thing, but not neat).

This can happen if:

  • You open the document from a Microsoft Outlook e-mail attachment.
  • The Allow starting in Reading Layout option is turned on in Word.
  • The table of contents in the document is three or more pages long.
  • The document was saved in the page layout view.
Microsoft offers these suggestions to prepare your baby for its best look. When you send a Word document as an e-mail attachment, make sure that you save the document in normal view before you send the document. Turn off reading layout view
  1. Start Word.
  2. On the Tools menu, click Options.
  3. Click the General tab, click to clear the Allow starting in Reading Layout check box, and then click OK.
Turn off all formatting marks
  1. Start Word.
  2. On the Tools menu, click Options.
  3. Click the View tab, click to deselect the All check box under Formatting marks, and then click OK.
Manually update all the page numbers
  1. Open the Word document.
  2. Select the table of contents in the document, and then press F9 to update all the page numbers.
Support.Microsoft.com
The page numbers in the TOC are incorrectly displayed


See all Topics

Thursday, April 07, 2016

Plain Numbers

I'd Like to Make It Clear


Plain Figures is a method of transforming statistical and financial data into figures, tables and graphs that people readily understand.

Have you ever:
  • squinted your eyes trying to see the numbers in a PowerPoint presentation?

  • scratched your head at a charity leaflet with an indecipherable pie chart titled 'Where your donation goes' ... and set it aside?

  • missed discussion at a meeting because you were busy trying to figure out the figures?

  • put aside a graph or table, thinking "I'm not good with numbers."?

Then you know how important the clear display of numerical information can be. Common problems People have trouble using numerical information for many reasons. Most commonly, authors don't know:
  • what to include: when unsure what numbers are important, people frequently display them all, overpowering the reader with irrelevance.

  • which format to use: the choice between text and table, table and chart, bar and pie.

  • how to use the technology effectively: computer software generates graphs easily, but the results hide your point behind incomprehensible chartjunk.

  • how to explain the information: selecting the right words for titles, columns and captions.

Plain Figures is a partnership between Sally Bigwood, located in Wakefield, Yorkshire, UK, and Melissa Spore, who divides her time between Toronto and Saskatoon, Canada. Sally and Melissa are sisters and both have dual citizenship in the United States.
 PlainFigures.com


See all Topics

Monday, April 04, 2016

Echo Document Data

Enter once — use again


Enter data in one place in a document and have it repeated elsewhere.

There comes the time when you need to enter a clients name at the beginning of a document and you know that it will be repeated again many other places.

Greg Maxey has collected a number of ways to make the task easier.


Repeating Data


See all Topics

Friday, March 18, 2016

SQL Warning in Word

Merge Ahead!


When you open a Word  mail merge main document that is linked to a data source, you may receive the following message:

Opening this will run the following SQL command:

SELECT * FROM C:\file_name.log

Data from your database will be placed in the document. Do you want to continue?


SQL Warning

This message helps protect you from unintentionally sending data to a malicious user.
To suppress this message, you must first create the following registry key:


  1. Open Registry Editor.
  2. Locate, and then click the following registry key:

    HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Word\Options

    (Use 12.0 for Word 2007)


  3. Click Edit, point to New, and then click DWORD Value.

  4. Under Name, type:

    SQLSecurityCheck

  5. Double-click SQLSecurityCheck.

  6. In the Value data box, type:

    00000000
See
Microsoft KB 825765

Installing Office XP SP3 appears to cause the same problem. For Word 2002 (XP also known as 10.0) you need to place the registry key in: HKEY_CURRENT_USER\Software\Microsoft\Office\10.0\Word\Options

(Thanks to Brian Livingston at WindowsSecrets.com for pointing the way to a solution)


See all Topics

Monday, March 07, 2016

PowerPoint Bloats Word

Diet tips


For various reasons, it can be helpful to send a PowerPoint show to Word. You can have great looking handouts and be able to format the document in ways that are not possible in PowerPoint.

The problem can be the size of the resultant file.

One of the easier, more practical ways to slim the doc down is to break the OLE links.
The size of a Word document may be 20 to 50 times larger than a PowerPoint presentation when you send the presentation to Word.
  1. Start PowerPoint.

  2. On the File menu, point to Send To, and then click Microsoft Office Word.

  3. Click Paste link, and then click OK.

  4. In the resulting Word document, click Links on the Edit menu.

  5. Select all the links that are listed, and then click Break Link.

  6. Click Yes when you are prompted.

  7. Save the Word document.
When you eliminate the OLE overhead, you can reduce the size of the Word document by 90 percent
Support.microsoft.com
 Size of Word Document


See all Topics

Saturday, March 05, 2016

Unicode and Other Characters

Why's A 65?


Underlying the intriguing prose spread across the monitor screen are numbers and more numbers.

Joel Spolsky, a New York software developer has written a combination history/tutorial about this numeric-literary liason.

He calls it:
"The Absolute Minimum Every Software Developer Absolutely, Positively Must Know About Unicode and Character Sets (No Excuses!)"
Unicode and Character sets


See all Topics

Tuesday, March 01, 2016

Grammar Rules

Could Of or Could Have?


This web site sells a grammar and spell checker, but they also have a compendium of rules for free.

"Looking for a specific rule to help you in your writing? Trying to decide between two similar words? A grammar checker helps you, but does not tell you why. Grammar checkers also miss many errors, especially those having to do with names, punctuation, sounds, and style.

Some of you may have a full grammar textbook stored on your disk somewhere, but it is a nuisance to access and use.

Grammar Slammer takes care of both problems in an easy-to-use format. Grammar Slammer contains the rules and tips you need to write your best and make yourself clear. Grammar Slammer uses the familiar Web Page format to make it easy to find what you are looking for. It even has an easy-to-use glossary to help with those grammatical terms you can't remember. It will truly Slam your Grammar Agony!"

Grammer Slammer


(Could of does not exist. Neither do should of, will of, or would of as verbs.)


See all Topics

Wednesday, February 24, 2016

Styles not applied to all texts

Word makes judgments


When text is selected, Word must examine the styles that have been applied and determine which to keep and which to overwrite.
  1. Type the following text:

This line will test how styles and formatting work in Word.






  • Select all the text, and then apply italic formatting.

  • Select all the text, and then apply a style such as Heading 1.

    You notice that italic formatting is not retained.

  • Select all the text, apply the Normal style, and then remove the italic formatting.

  • Select "work in Word" in the text, and then apply the italic formatting.

  • Select all the text, and then apply the Heading 1 style.
  • You notice that the italic formatting is retained.
    'This behavior occurs because Word uses a specific rule to determine whether to apply a style to selected text. According to this rule, Word applies a style depending on the percentage of the selected text that already has formatting applied. For example, if you already applied formatting to less than 50 percent of the selected text, this formatting is retained when you apply a style. If the selected text includes multiple paragraphs, Word first calculates the percentage of text that is formatted in the first paragraph. Then, it examines the paragraphs in the same range. If the formatting that is applied to the text in the paragraphs that follow the first paragraph differs from most of the formatting in the first paragraph, Word does not apply the style to the following paragraphs. Therefore, the formatting is retained in these paragraphs."
    Support.Microsoft.com:
    A style is not applied to all the selected text in Word


    See all Topics

    Friday, February 12, 2016

    Custom Properties

    Use your own


    If you look at Properties on the File menu, you will see a number of entries. You can also create your own custom properties.

    Click the Custom tab and add what you want.



    To insert your own properties in a document, use Insert>Fields

    1. Choose Document Information in the list of Categories
    2. In the list of Field Names, choose DocProperty
    3. Click the Field Codes button
    4. Add the property name to the Field
    5. Click OK
    6. Click OK. Word to inserts the value.


    Here's the "click path" for 2007:



    Also: Word.Tips.Net:
    Creating word custom doc properties from code


    See all Topics

    Wednesday, February 10, 2016

    Who was that font I saw you with last night?

    That was no font, that was my typeface


    You can find the Fonts supplied with some Microsoft products
    Select a product name from the list to get a list of fonts supplied with that product.

    Microsoft's Typography is an interesting site to poke around in.

    Here are some books I use for reference material:
    Words into Type
    by Marjorie E. Skillin, Robert Malcolm Gay ISBN 0139642625

    Stop Stealing Sheep & Find Out How Type Works

    by Erik Spiekermann, E.M Ginger ISBN 0201703394

    The Elements of Typographic Style
    by Robert Bringhurst ISBN 0881791326
    "A font can be defined as a collection of characters with the same style and size. A typeface is the design of the characters regardless of size or style. The terms are used interchangeably today."



    See all Topics

    Friday, February 05, 2016

    Vertical Selection with ALT

    Old trick


    This trick has been around for awhile, but it might be forgotten as new information in the right ear shoves old knowledge out the left.*

    If you hold down the ALT key while selecting in a Word document, you can select a block. This could be a vertical area, such as the prefixes of a list.



    The selection can then be formatted or deleted.


    See all Topics

    Wednesday, February 03, 2016

    Quote Me All You Like

    What the other guy says has weight


    There are sites that give you Bartleby Quotations.

    Gar Reynold has put together a list of some other sites that can help bolster any argument, no mater how specious.


    "In my presentations, I may have several slides which feature a quote from a famous (sometimes not so famous) individual in the field. The quote may be a springboard into the topic or serve as support or reinforcement for the particular point I'm making. A typical Tom Peters presentation at one of his seminars, for example, may include dozens of slides with quotes. 'I say that my conclusions are much more credible when I back them up with great sources,' Tom says."

    PresentationZen.blogs.com:
    Where to get quotations


    "Computers are useless. They can only give you answers."
    Pablo Picasso



    See all Topics

    Saturday, January 23, 2016

    Date an Octothorpe

    Some more of those things I'm sure I used to know


    The keyboard combination of Alt+Shift+D inserts the current date in MS Word and PowerPoint. Ctrl+; (semicolon) does it in Excel and Access.

    If you do not like the date's format, select a different one with Insert>Date and Time and, if you would like to make that permanent, click on the Default button in the lower left corner of the dialog box (in PowerPoint it's in the lower right corner).

    In Excel, Ctrl+Shift +# formats the entry as day-month-year. Ctrl+1 will display the "Format cells" dialog box.

    BTW, the "hash, pound or number" sign # is also called an "octothorpe".

    The person who named it combined Octo for the eight points and Thorpe for James Thorpe.

    "Bell Labs engineer, Don Macpherson, went to instruct their first client, the Mayo Clinic, in the use of the new touch tone phone system. He felt the need for a fresh and unambiguous name for the # symbol. His reasoning that led to the new word was roughly that it had eight points, so ought to start with octo-. He was apparently at that time active in a group that was trying to get the Olympic medals of the athlete Jim Thorpe returned from Sweden, so he decided to add thorpe to the end."

    While we're at it, the "backwards P, Enter mark" is actually named a "pilcrow".

    The pilcrow was used in medieval times to mark a new train of thought, before the convention of using paragraphs was commonplace.

    Also see:
    Geek-speak names for punctuation marks

    Wikipedia:
    Punctuation


    See all Topics

    Sunday, January 17, 2016

    Booklets

    Sized and numbered


    Word has the built-in ability to print booklets with automatically numbered pages.

    "If you don't want to spend money on an add-in, or use VBA; and are willing to do a bit more work yourself, here is the method I use. I've produced booklets up to 100 pages long this way, and it works quite satisfactorily for me."


    Word.MVPS.org:
    Booklet printing

    How-to Geek:
    Create Booklet

    RickySpears.com:
    Microsoft Word Booklet Templates
    "The WordBookletTemplates.zip file contains Microsoft Word templates for 4, 8, 12, 16, 20, 24, 28, and 32 page booklets, with and without page numbers (16 templates in all). I think I developed these with Microsoft Word 97 and I've never made any changes to them. They use a series of text boxes that flow from one to the other to get the text where it is supposed to be in the booklet."



    See all Topics

    Tuesday, January 12, 2016

    Add Captions Programatically

    When the project seems overwhelming


    Faced 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.

    Fortunately, the Word object model lets you to apply a caption to a selected object. An add-in that does this for you is only a small chunk of code away. The sample add-in accompanying this article demonstrates how to do this. It also demonstrates many other details about working with shapes and images in Word programmatically that are useful to know about."

    Working with Word Images Programmatically


    See all Topics

    Saturday, January 02, 2016

    Readability Evaluation

    What grade are you?


    Word has a built in tool to determine the level of reading difficulty of a document.

    To see the statistics:
    1. On the Tools menu, click Options, and then click the Spelling & Grammar tab
    2. Select the Check grammar with spelling check box
    3. Select the Show readability statistics check box, and then click OK
    4. On the Standard toolbar, click Spelling and Grammar
    5. In 2007, click the Office button in the upper left corner. Click Word Options. Choose Proofing and When correcting spelling and grammar in Word.
    When Microsoft Word finishes checking spelling and grammar, it displays information about the reading level of the document.

    Each readability score bases its rating on the average number of syllables per word and words per sentence.
    Flesch Reading Ease score Rates text on a 100-point scale; the higher the score, the easier it is to understand the document. For most standard documents, aim for a score of approximately 60 to 70. The formula for the Flesch Reading Ease score is: 206.835 - (1.015 x ASL) - (84.6 x ASW) where: ASL = average sentence length (the number of words divided by the number of sentences) ASW = average number of syllables per word (the number of syllables divided by the number of words)
    Flesch-Kincaid Grade Level score
    Rates text on a U.S. school grade level. For example, a score of 8.0 means that an eighth grader can understand the document. For most documents, aim for a score of approximately 7.0 to 8.0.
    The formula for the Flesch-Kincaid Grade Level score is:
    (.39 x ASL) + (11.8 x ASW) - 15.59
    Readability
    Measuring the reading age of books and other reading matter.

    Wikipedia.com:
     Flesch-Kincaid Readability Test
    Support.Microsoft.com:
    Frequently Asked Questions About Proofing Grammar

    I am working on a law review article dealing with readability. We have found a problem with Microsoft Word's Flesch-Kincaid formula - it does not appear to be accurate. We took a sample text of slightly over 100 words, and ran the check. We then changed the word "report" to statement" (with everything else unchanged) and Word indicated a higher grade level. However, the grade level should not have been affected, since "report" and "statement" are both two-syllable words. It looks like Word is somehow incorporating number of characters in each word into it's Flesch-Kincaid score, which it should not. Any idea what the problem might be?


    You're right, Word handles the formula a little differently.
    BTW, they say the sample s/b 200+ words for reliability.

    and:
    Wikipedia



    See all Topics

    Friday, December 25, 2015

    Insert>Fields

    Tiny code snippets


    Microsoft has included a number of code pieces that you can use without having to haul out the VBA editor. These codes handle such things as page numbers, Table of Contents, Merge data and more.

    "Some 80-plus fields are built into Word that provide information about the file and the user; store, display, and manipulate reference information; and link the document to other applications - all without a bit of code."


    Automate Word Documents with Minimal Code
    By Cindy Meister


    Cindy Meister is a Word MVP.

    She also works with bobbin-lace. Here is a sample of a Honiton lace butterfly.

    Also:

    AddBalance.com:
    Using { Fields } in Microsoft Word

    GMayor.com
    Formatting Word Fields with Switches

    In 2007-10 you can use the =(Formula) field.
    On the Insert tab look for Quick Parts:




    See all Topics

    Saturday, December 12, 2015

    Justify Clean Up

    Minimize white space


    When a document is formatted with columns, the text is often Justified. This can lead to a messy layout of words and letters.
    "When justifying text in Microsoft Word use the hyphenation feature to improve the look of your page. (Without hyphens). . . unnecessary 'white space' is distributed throughout. When hyphenation is turned on the overall typographic color of the page is much more even. To enable this feature in Microsoft Word do the following: After you have justified the columns in your document, choose from the "Tools menu" > Language > then from the dropdown menu, choose "Hyphenation", then choose "Automatically hyphenate document"





    FontBlog:
    Typography Tip #2


    BTW, this goes along with one space after punctuation.
    Bill Hill - There is only one space after a period


    See all Topics

    Friday, December 04, 2015

    SCORE Templates

    Free business advice


    SCORE is a nonprofit organization providing small business advice and training.

    SCORE's 10,500 volunteers have more than 600 business skills. Volunteers share their wisdom and lessons learned in business. Our volunteers are working/retired business owners, executives and corporate leaders.
    • SCORE offers Ask SCORE email advice online.
    • Face-to-face small business counseling at 389 chapter offices.
    • Low-cost workshops at 389 chapter offices nationwide.
    • "How to" articles and business templates
    Here are some of the available templates:
    A Business Plan for a Start-up Business
    Microsoft Word
    A Business Plan for an Established Business
    Microsoft Word
    Bank Loan Request for Small Business
    Microsoft Word
    Break-Even Analysis
    Excel
    Competitive Analysis
    Microsoft Word
    Financial History & Ratios
    Excel
    Loan Amortization Schedule
    Excel
    Opening Day Balance Sheet
    Excel
    Personal Financial Statement
    Excel

    Projected Balance Sheet
    Excel
    Start-up Expenses
    Excel
    4-Year Profit Projection
    Excel
    12-Month Cash Flow Statement
    Excel
    12-Month Profit and Loss Projection
    Excel
    12-Month Sales Forecast
    Excel

    SCORE Template Gallery


    See all Topics