Mouse and Keyboard Changes in Google Drive

Right-Clicking in Google Drive

You can now right-click on items in Google Drive to display a context-sensitive menu.

Using the SHIFT and CTRL Keys in Google Drive

You can now use the SHIFT key to select a group of items.  (Click the first item in a list, hold down the SHIFT key, and then select the last item in the list.)

You can use the CTRL key to select individual items.  (Select the first item, hold down the CTRL key, and then select additional items while holding down CTRL.)

 

Set Default Text and Stylesheet in Google Docs

To set default text:

Select the text you want to make the default for all documents.

Click the Styles drop-down menu, and then select Normal text  >  Update ‘Normal text’ to match. This sets the current text style as normal.

To set the default stylesheet:

Choose Options  > Save as my default styles to use the current stylesheet on every new document.

 

Leading Zeroes Missing from Zip Codes in a Mail Merge: Another Option

The best solution to this problem is to change an option in Word that sets up a DDE connection with Excel, and displays the zip code the way it is formatted in Excel, with all leading zeroes. (See Mail Merge Problem: Leading Zeroes Missing from Zip Codes for instructions.)

However, for a variety of reasons (such as a filtered spreadsheet or a conflict with a printer driver), this doesn’t always work. Another option is to edit the field codes in Word to make sure all the leading zeroes appear. Here’s how:

  1. In the Word document, click into the field with the zip code, and press SHIFT + F9.
  2. Word will display the field code. It will look like this (with Zip_Code being the name of the field):
    {MERGEFIELD Zip_Code}
  3. Click into the field and change it to the following:
    {MERGEFIELD \# "00000" Zip_Code}

    Format explanation: I picked five zeroes for the zip code format because a zero in a number format forces Excel to put a number in that position, even if the number is blank or zero. (The default number format uses # signs, which to Excel means, “Don’t put a number in this position if the number is blank or zero.”)

  4. Click back into the field and press SHIFT + F9 to hide the field code and display the text.
  5. If you do not see the leading zeroes, click into the field and press F9 to update the field.

Capitalize a Word – Keyboard Shortcut

To quickly capitalize a word in any version of Microsoft Word, press SHIFT + F3 (top row of keyboard).

Repeatedly tap the F3 key while holding down the SHIFT key to cycle through case options for the selected text — Sentence case, UPPERCASE, lowercase.

Alternatively, the change the case of selected text: Click the Change Case button on the Home tab of the ribbon.

changecase

Alignment Guides in PowerPoint 2013

The new Smart Alignment Guides in PowerPoint 2013 make it easy to align objects with precision.  Simply click to drag an image or text near another image or text. Red dotted lines appear automatically showing when your objects are aligned correctly.

alignment

Use the Equidistant Guide to evenly space out several images or text. This guide will appear when you have more than two objects that need to be spaced evenly apart, as in the example below.  The red arrows that appear between the objects show that the distance between them is exactly the same.

ppt-alignment

 

Using Range.Offset in Excel VBA

To select a cell in Excel, you have two basic methods: RANGE and CELLS:

Range ("A1").Select
Range("RangeName").Select
Cells(3, 4).Select   'Selects Row 3, Column 4, i.e. cell D3

Range works well for hard-coded cells. Cells works best with calculated cells, especially when you couple it  with a loop:

For i = 1 to 10
     Cells(i, 1).value = i   ' fill A1 through A10 with the value of i
Next i

Note that your focus does not change. Whatever cell you were in when you entered the loop is where you are when you leave the loop. This is way faster than selecting the cell, changing the value, selecting the next cell, etc. If you are watching the sheet, the values simply appear.

There are times when you are processing a list when you might want to look at the values in the same row, but a couple of columns over.  You can accomplish this best with the .Offset clause. You might see the .Offset clause when you record a macro using relative references:

ActiveCell.Offset(1, 0).Range("A1").Select

This is both confusing and overkill. Translated into English, it takes the current cell (ActiveCell) and selects the row that is one row down from the current row and in the same column. The “Range(“A1″)” clause is not necessary. So if you want to stay in the current cell and read a value two columns to the right, you could use syntax like the following:

strMyValue = ActiveCell.Offset(0,2).Value

If you are in cell D254, the code above will reference the cell F254 and read its value into the variable strMyValue. This is far more efficient than selecting the cell two columns to the right, processing your data, then remembering to select two columns to the left and continue.

If you want to offset to a column to the left of you or a row above you, use a negative number. If you are in cell G254, the code ActiveCell.Offset(-3,-2).Select will select E251 (3 rows up and 2 columns left).

You can loop through a list much more efficiently with Offset. It is easier to program and way faster to execute.

While ActiveCell.Value <> ""
    strFirstName = ActiveCell.Value

    strLastName = ActiveCell.Offset(0,1).Value

    dblSalary = ActiveCell.Offset(0,2).Value

    ActiveCell.Offset(0,2).Value = dblSalary * 1.05 'give a 5% raise

    MsgBox(strFirstName & " " & strLastName & ": Your new salary is " & dblSalary)

    ActiveCell.Offset(1,0).Select

Wend

You would probably want to format the salary for currency, but this is the general idea.

Mail Merge Problem: Leading Zeroes Missing from Zip Codes

When you use and Excel spreadsheet as a data file in a Word mail merge, formatting zip codes can sometimes make you want to tear all the hair out of your head.

This is a particularly annoying problem because most users assume they are solving the problem by correctly formatting zip codes in Excel.  However, correctly formatted zip codes in Excel sometimes still arrive in Word without their leading zeroes.

Here is one way to fix the problem permanently:

  1. Start Word, and then open a new blank document.
  2. Go to Word Options
    • In Word 2007, click the Office Button, and then click Word Options.
    • In Word 2010/2013, click File, and then click Options.
  3. On the Advanced tab, go to the General section.
  4. Click to select the Confirm file format conversion on open check box, and then click OK.
  5. Start the mail merge and then select your recipients by navigating to the Excel spreadsheet that contains your data.  Excel will display the following dialog:
    confirm data source
  6. In the Confirm Data Source dialog box, click to select the Show all check box. Click MS Excel Worksheets via DDE (*.xls), and then click OK.
    confirm data source2
  7. In the Microsoft Excel dialog box, under Named or cell range, select the cell range or worksheet that contains the data that you want to use, and then click OK.
    chooserange
  8. Next, add merge fields to your main document (labels, envelopes, etc.).  When you preview or finish the merge, the zip codes will format correctly with leading zeroes (the way they appeared in the Excel spreadsheet).

Some users have reported an error message when attempting to set up the DDE connection.  The cause for the error can be a variety of reasons (such as a filtered spreadsheet or a conflict with a printer driver).  If you cannot establish the DDE connection, there is an alternative method to force the leading zeroes in a zip code to appear in a mail merge.  Check out this post:

Leading Zeroes Missing from Zip Codes in a Mail Merge: Another Option