Monday, October 1, 2007

Creating a keyboard shortcuts cheat sheet for Visual Studio 2005

Most people don't know this, but there are actually over 450 keyboard shortcuts in Visual Studio by default. But there is no easy way to find out all the keyboard shortcuts inside Visual Studio. You can find out what all the default keyboard shortcuts are by writing a simple macro to enumerate all of them. The following shows the code for this.

Public Module Module1

Public Sub ListShortcutsInHTML()

'Declare a StreamWriter
Dim sw As System.IO.StreamWriter
sw = New StreamWriter("c:\\demo\\Shortcuts.html")

'Write the beginning HTML
WriteHTMLStart(sw)

' Add a row for each keyboard shortcut
For Each c As Command In DTE.Commands
If c.Name <> "" Then
Dim bindings As System.Array
bindings = CType(c.Bindings, System.Array)
For i As Integer = 0 To bindings.Length - 1
sw.WriteLine("<tr>")
sw.WriteLine("<td>" + c.Name + "</td>")
sw.WriteLine("<td>" + bindings(i) + "</td>")
sw.WriteLine("</tr>")
Next

End If
Next

'Write the end HTML
WriteHTMLEnd(sw)

'Flush and close the stream
sw.Flush()
sw.Close()
End Sub
Public Sub WriteHTMLStart(ByVal sw As System.IO.StreamWriter)
sw.WriteLine("<html>")
sw.WriteLine("<head>")
sw.WriteLine("<title>")

sw.WriteLine("Visual Studio Keyboard Shortcuts")
sw.WriteLine("</title>")
sw.WriteLine("</head>")

sw.WriteLine("<body>")
sw.WriteLine("<h1>Visual Studio 2005 Keyboard Shortcuts</h1>")
sw.WriteLine("<font size=""2"" face=""Verdana"">")
sw.WriteLine("<table border=""1"">")
sw.WriteLine("<tr BGCOLOR=""#018FFF""><td
align=""center""><b>Command</b></td><td
align=""center""><b>Shortcut</b></td></tr>")


End Sub

Public Sub WriteHTMLEnd(ByVal sw As System.IO.StreamWriter)
sw.WriteLine("</table>")
sw.WriteLine("</font>")
sw.WriteLine("</body>")
sw.WriteLine("</html>")
End Sub

End Module



To use this macro, go to Tools, select Macros, and then choose Macros IDE. . . to launch the Macros IDE. Expand the MyMacros project, MyMacros namespace and double-click on Module1. Simply copy Listing 1 to the Macros IDE and run the macro. After running the macro, you would have produced a keyboard shortcuts reference for Visual Studio. Open your output at C:\demo\Shortcuts.html. Figure 1 shows the partial output. Feel free to print it out and post it near your computer as you learn new keyboard shortcuts.

Friday, September 28, 2007

MicroSoft-PowerPoint

To create a new presentation file
CTRL+N

To open a presentation file
CTRL+O

To close a presentation file
CTRL+W

To save a presentation file
CTRL+S

To quit PowerPoint
ALT+F4

To when more than one window is open, switch to the next window
CTRL+F6

To switch to the previous window
CTRL+SHIFT+F6

To minimize a window to an icon
CTRL+F9

To maximize a selected window
CTRL+F10

To restore the size of the active window after you've minimized or maximized it
CTRL+F5

To move clockwise among panes of Normal View
F6

To move counterclockwise among panes of Normal View
SHIFT+F6

To switch between Slides and Outline tabs of the Outline and Slides pane in Normal View
CTRL+SHIFT+TAB

To select the next box in the e-mail header or the body of the message when the last box in the e-mail header is active
TAB

To select the previous field or button in the e-mail header
SHIFT+TAB

To open the Address Book
CTRL+SHIFT+B

To check the names on the To, Cc, and Bcc lines against the Address Book
ALT+K

To send the current presentation
ALT+S

To show or hide the grid
SHIFT+F9

To show or hide guides
ALT+F9

To change grid or guide settings
CTRL+G

To undo the last action
CTRL+Z

To repeat the last action
CTRL+Y

To perform the next animation or advance to the next slide
N, ENTER, PAGE DOWN, RIGHT ARROW, DOWN ARROW, or SPACEBAR (or click the mouse)

To perform the previous animation or return to the previous slide
P, PAGE UP, LEFT ARROW, UP ARROW, or BACKSPACE

To go to slide number
number+ENTER

To display a black screen, or return to the slide show from a black screen
B or PERIOD

To display a white screen, or return to the slide show from a white screen
W or COMMA

To stop or restart an automatic slide show
S or PLUS SIGN

To end a slide show
ESC, CTRL+BREAK, or HYPHEN

To erase on-screen annotations
E

To go to the next hidden slide
H

To set new timings while rehearsing
T

To use original timings while rehearsing
O

To use mouse-click to advance while rehearsing
M

To return to the first slide
1+ENTER (or press both mouse buttons for 2 seconds)

To redisplay hidden pointer and/or change the pointer to a pen
CTRL+P

To redisplay hidden pointer and/or change the pointer to an arrow
CTRL+A

To hide the pointer and navigation button immediately
CTRL+H

To hide the pointer and navigation button in 15 seconds
CTRL+U

To display the shortcut menu
SHIFT+F10 (or right-click)

To go to the first or next hyperlink on a slide
TAB

To go to the last or previous hyperlink on a slide
SHIFT+TAB

To perform the "mouse click" behavior of the selected hyperlink
ENTER while a hyperlink is selected

To perform the "mouse over" behavior of the selected hyperlink
SHIFT+ENTER while a hyperlink is selected

To go to the first or next hyperlink per slide
TAB

To go to the last or previous hyperlink per slide
SHIFT+TAB

To perform the "mouse click" behavior of the selected hyperlink
ENTER while a hyperlink is selected

To perform the "mouse over" behavior of the selected hyperlink
SHIFT+ENTER while a hyperlink is selected

To move forward through the hyperlinks in a Web presentation, the Address bar, and the Links bar
TAB

To move back through the hyperlinks in a Web presentation, the Address bar, and the Links bar
SHIFT+TAB

To perform the "mouse click" behavior of the selected hyperlink
ENTER

To go to the next slide
SPACEBAR

To go to the previous slide
BACKSPACE

To promote a paragraph
ALT+SHIFT+LEFT ARROW or SHIFT+TAB

To demote a paragraph
ALT+SHIFT+RIGHT ARROW or TAB

To move selected paragraphs up
ALT+SHIFT+UP ARROW

To move selected paragraphs down
ALT+SHIFT+DOWN ARROW

To show heading level 1
ALT+SHIFT+1

To expand text below a heading
ALT+SHIFT+PLUS SIGN

To collapse text below a heading
ALT+SHIFT+MINUS SIGN

To show all or collapse all text or headings
ALT+SHIFT+A

To move one character to the left
LEFT ARROW

To move one character to the right
RIGHT ARROW

To move one line up
UP ARROW

To move one line down
DOWN ARROW

To move one word to the left
CTRL+LEFT ARROW

To move one word to the right
CTRL+RIGHT ARROW

To move to the end of a line
END

To move to the beginning of a line
HOME

To move up one paragraph
CTRL+UP ARROW

To move down one paragraph
CTRL+DOWN ARROW

To move to the end of a text box
CTRL+END

To move to the beginning of a text box
CTRL+HOME

To move to the next title or body text placeholder (or to insert a new slide with the same layout as the current one if this is the last placeholder on the slide)
CTRL+ENTER

To repeat the last Find action
SHIFT+F4

To select one character to the right
SHIFT+RIGHT ARROW

To select one character to the left
SHIFT+LEFT ARROW

To select to the end of a word
CTRL+SHIFT+RIGHT ARROW

To select the beginning of a word
CTRL+SHIFT+LEFT ARROW

To select one line up
SHIFT+UP ARROW

To select one line down
SHIFT+DOWN ARROW

To select an object (with text selected inside the object)
ESC

To select an object (with an object selected)
TAB or SHIFT+TAB until the object you want is selected

To select text within an object (with an object selected)
ENTER

To select all objects
CTRL+A (on the Slides tab)

To select all slides
CTRL+A (in Slide Sorter View)

To select all text
CTRL+A (on the Outline tab)

To delete one character to the left
BACKSPACE

To delete one word to the left
CTRL+BACKSPACE

To delete one character to the right
DELETE

To delete one word to the right
CTRL+DELETE

To cut selected object
CTRL+X

To copy selected object
CTRL+C

To paste cut or copied object
CTRL+V

To undo the last action
CTRL+Z

To change the font
CTRL+SHIFT+F

To change the font size
CTRL+SHIFT+P

To increase the font size
CTRL+SHIFT+>

To decrease the font size
CTRL+SHIFT+<

To change the formatting of characters
CTRL+T (opens Font dialog box from Format menu)

To change the case of letters
SHIFT+F3 (toggles through sentence case, lowercase, and uppercase)

To apply bold formatting
CTRL+B

To apply an underline
CTRL+U

To apply italic formatting
CTRL+I

To apply subscript formatting (automatic spacing)
CTRL+EQUAL SIGN

To apply superscript formatting (automatic spacing)
CTRL+SHIFT+PLUS SIGN

To remove manual character formatting, such as subscript and superscript
CTRL+SPACEBAR

To copy formats
CTRL+SHIFT+C

To paste formats
CTRL+SHIFT+V

To center a paragraph
CTRL+E

To justify a paragraph
CTRL+J

To left align a paragraph
CTRL+L

To right align a paragraph
CTRL+R

To move to the next cell
TAB

To move to the preceding cell
SHIFT+TAB

To move to the next row
DOWN ARROW

To move to the preceding row
UP ARROW

To insert a tab in a cell
CTRL+TAB

To start a new paragraph
ENTER

To add a new row at the bottom of the table
TAB at the end of the last row

MicroSoft-Access

Bold
Ctrl-B

Builder
Ctrl-F2

Close
Ctrl-W

Close
Ctrl-F4

Copy
Ctrl-C

Cut
Ctrl-X

Cut current line and copy to Clipboard
Ctrl-Y

Cycle through sections
F6/Shift-F6

Cycle through tab of each object's type (forward)
Ctrl-Tab

Cycle through tab of each object's type (backward)
Ctrl-Shift-Tab

Database window
F11

Delete current record
Ctrl -

Edit/Navigation mode (toggle)
F2

Exit subform and move to next/previous field in next record
Ctrl-Tab/Shift-Tab

Extend selection to next/previous record
Shift-Dn/Up

Find
Ctrl-F

Find Next
Shift-F4

Find Previous
Shift-F3

GoTo
Ctrl-G

Insert current date
Ctrl ;

Insert current time
Ctrl :

Insert default value
Ctrl-Alt-spacebar

Insert new line
Ctrl-Enter

Insert value from same field in previous record
Ctrl '

Italics
Ctrl-I

Menu bar
F10

Move to beginning/end of multiple-line field
Ctrl-Home/End

Move to current field in first/last record (Navigation mode)
Ctrl-Up/Dn

Move to first field in first record (Navigation mode)
Ctrl-Home

Move to first/last field in current record (Navigation mode)
Home/End

Move to last field in last record (Navigation mode)
Ctrl-End
Move to left edge of page
Home or Ctrl-Left

Move to page number/record number box
F5

Move to right edge of page
End or Ctrl-Right

New (object)
Ctrl-N

New record (add)
Ctrl +

Next window
Ctrl-F6

Open
Ctrl-O

Open combo box
F4

Open in Design view
Ctrl-Enter

Paste
Ctrl-V

Print
Ctrl-P

Property sheet
Alt-Enter

Refresh combo box
F9

Replace
Ctrl-H

Requery underlying tables in subform
Shift-F9

Save
Ctrl-S

Save As
F12

Save current record
Shift-Enter

Screen left/right
Ctrl-PgUp/PgDn

Select/unselect column (Navigation mode)
Ctrl-spacebar

Spelling/Grammar check
F7

Switch between upper/lower panes
F6

Switch to Form view
F5

Turn on Move mode
Ctrl-F8

Underline
Ctrl-U

Undo
Ctrl-Z

Undo previous extension
Shift-F8

Zoom box
Shift-F2

Thursday, September 27, 2007

MacroMedia Dreamweaver MX

Check Links
Shift+F8

Validate Markup...
Shift+F6

Copy HTML
Ctrl+Shift+C


Paste HTML
Ctrl+Shift+V

Select Parent Tag
Ctrl+[

Select Child
Ctrl+]

Show Code Hints
Ctrl+Space

Indent Code
Ctrl+Shift+>

Outdent Code
Ctrl+Shift+<

Balance Braces
Ctrl+'

Toggle Breakpoint
Ctrl+Alt+B

Switch Views
Ctrl+`

Server Debug
Ctrl+Shift+G

Live Data
Ctrl+Shift+R

Head Content
Ctrl+Shift+W

Standard View
Ctrl+Shift+F6

Layout View
Ctrl+F6

Show Rulers
Ctrl+Alt+R

Show Grid
Ctrl+Alt+G

Snap To Grid
Ctrl+Alt+Shift+G

Play Plugins
Ctrl+Alt+P

Stop Plugins
Ctrl+Alt+X

Play All Plugins
Ctrl+Alt+Shift+P

Stop All Plugins
Ctrl+Alt+Shift+X

Show Panels
F4

Insert Tag...
Ctrl+E

Insert Image
Ctrl+Alt+I

Insert Flash
Ctrl+Alt+F

Insert Shockwave
Ctrl+Alt+D

Insert Table
Ctrl+Alt+T

Insert Template Editable Region
Ctrl+Alt+V

Insert Named Anchor
Ctrl+Alt+A

Insert Line Break
Shift+Return

Insert Non-Breaking Space
Ctrl+Shift+Space

Modify Page Properties...
Ctrl+J

Modify Selection Properties
Ctrl+Shift+J

Quick Tag Editor
Ctrl+T

Make Link...
Ctrl+L

Remove Link
Ctrl+Shift+L

Select Table
Ctrl+A

Merge Cells
Ctrl+Alt+M

Split Cell...
Ctrl+Alt+S

Insert Row
Ctrl+M

Insert Column
Ctrl+Shift+A

Delete Row
Ctrl+Shift+M

Delete Column
Ctrl+Shift+-

Increase Column Span
Ctrl+Shift+]

Decrease Column Span
Ctrl+Shift+[

Left Align
Ctrl+Shift+1

Right Align
Ctrl+Shift+3

Top Align
Ctrl+Shift+4

Bottom Align
Ctrl+Shift+6

Make Same Width
Ctrl+Shift+7

Make Same Height
Ctrl+Shift+9

None
Ctrl+0

Paragraph
Ctrl+Shift+P

Heading 1
Ctrl+1

Heading 2
Ctrl+2

Heading 3
Ctrl+3

Heading 4
Ctrl+4

Heading 5
Ctrl+5

Heading 6
Ctrl+6

Left Align
Ctrl+Alt+Shift+L

Center Align
Ctrl+Alt+Shift+C

Right Align
Ctrl+Alt+Shift+R

Justify Align
Ctrl+Alt+Shift+J

Edit Style Sheet...
Ctrl+Shift+E

Check Spelling
Shift+F7

Site Files
F8

Site Map
Alt+F8

Get
Ctrl+Shift+D

Check Out
Ctrl+Alt+Shift+D

Put
Ctrl+Shift+U

Check In
Ctrl+Alt+Shift+U

Code Inspector
F10

Frames
Shift+F2

History
Shift+F10

Layers
F2

Timelines
Alt+F9

Add Object to Library
Ctrl+Shift+B

Text Indent
Ctrl+Alt+]

Text Outdent
Ctrl+Alt+[

Check Links
Shift+F8

Duplicate
Ctrl+D

Show/Hide Link
Ctrl+Shift+Y

View as Root
Ctrl+Shift+R

Show Page Titles
Ctrl+Shift+T

Site Files
F8

Site Map
Alt+F8

Disconnect
Ctrl+Alt+Shift+F5

Get
Ctrl+Shift+D

Check Out
Ctrl+Alt+Shift+D

Put
Ctrl+Shift+U

Check In
Ctrl+Alt+Shift+U

Check Links Sitewide
Ctrl+F8

Link to New File...
Ctrl+Shift+N

Link to Existing File...
Ctrl+Shift+K

Select Parent Tag
Ctrl+[


Balance Braces
Ctrl+'

Redo
Ctrl+Y

Switch To Document
Ctrl+`

Toggle Breakpoint
Ctrl+Alt+B

Snippets
Shift+F9

Adobe PhotoShop

m
Marquee Tool

l
Lasso Tool

j
Airbrush Tool

s
Rubber Stamp Tool

e
Eraser Tool

r
Blur Tool

p
Pen Tool

u
Measure Tool

k
Paint Bucket Tool

h
Hand Tool

v
Move Tool

w
Magic Wand Tool

b
Paintbrush Tool

y
History Brush Tool

n
Pencil Tool

o
Dodge Tool

t
Type Tool

g
Linear Gradient Tool

i
Eyedropper Tool

z
Zoom Tool

d
Default foreground and background colors.

x
Switches between foreground and background colors.

q
Switches between standard mode or quick mask mode.

f
Switches between screen modes.

TAB
Hides/Unhides open tools.

CTRL + N
New

CTRL + O
Open

CTRL + ALT + O
Open As

CTRL + W
Close

CTRL + S
Save

CTRL + SHIFT + S
Save As

CTRL + ALT + S
Save a Copy

CTRL + SHIFT + P
Page Setup

CTRL + P
Print

CTRL + K
Preferences > General

CTRL + Z
Undo

CTRL + X
Cut

CTRL + C
Copy

CTRL + SHIFT + C
Copy Merged

CTRL + V
Paste

CTRL + SHIFT + V
Paste Into

CTRL + T
Free Transform

CTRL + SHIFT + T
Transform > Again

CTRL + L
Adjust > Levels

CTRL + SHIFT + L
Adjust > Auto Levels

CTRL + ALT + SHIFT + L
Adjust > Auto Contrast

CTRL + M
Adjust > Curves

CTRL + B
Adjust > Color Balance

CTRL + U
Adjust > Hue/Saturation

CTRL + SHIFT + U
Adjust > Desaturate

CTRL + I
Adjust > Invert

CTRL + ALT + X
Extract

CTRL + SHIFT + N
New > Layer

CTRL + J
New > Layer Via Copy

CTRL + SHIFT + J
New > Layer Via Cut

CTRL + G
Group with Previous

CTRL + SHIFT + G
Ungroup

CTRL + SHIFT + ]
Arrange > Bring to Front

CTRL + ]
Arrange > Bring Forward

CTRL + [
Arrange > Send Backward

CTRL + SHIFT + [
Arrange > Send to Back

CTRL + E
Merge Down

CTRL + SHIFT + E
Merge Visible

CTRL + A
All

CTRL + D
Deselect

CTRL + SHIFT + D
Reselect

CTRL + SHIFT + I
Inverse

CTRL + ALT + D
Feather

CTRL + F
Last Filter

CTRL + SHIFT + F
Fade

CTRL + Y
Preview > CMYK

CTRL + SHIFT + Y
Gamut Warning

CTRL + +
Zoom In

CTRL + -
Zoom Out

CTRL + 0
Fit on Screen

CTRL + SHIFT + 0
Actual Pixels

CTRL + H
Hide Edges

CTRL + SHIFT + H
Hide Path

CTRL + R
Show Rulers

CTRL + ;
Hide Guides

CTRL + SHIFT + ;
Snap To Guides

CTRL + ALT + ;
Lock Guides

CTRL + "
Show Grid

CTRL + SHIFT + "
Snap To Grid

F1
Contents

Page Up/Down
Move view up/down 1 screen.

SHIFT + Page Up/Down
Nudge view up/down.

CTRL + Page Up/Down
Move view left/right 1 screen.

CTRL + SHIFT + Page Up/Down
Nudge screen left/right.

CTRL + SHIFT + Z
Previous History entry.

CTRL + ALT + Z
Next History entry.

SHIFT + -
Previous blending mode.

SHIFT + +
Next blending mode.

MicroSoft-Excel

F1
Help

F2
Edit Mode

F3
Paste Name Formula

F4
Repeat Action

F5
Goto

F6
Next Pane

F7
Spell Check

F8
Extend Selection

F9
Calculate All

F10
Activate Menu

F11
New Chart

F12
Save As

= (+)
Formula

Insert
Insert Mode

Delete
Clear

Home
Begin Row

End
End Row

Page Up
Page Up

Page Down
Page Down

Left Arrow
Move Left

Right Arrow
Move Right

Up Arrow
Move Up

Down Arrow
Move Down

Space Bar
Space

Tab
Move Right

Shift + F1
What's This Help

Shift + F2
Edit Comment

Shift + F3
Paste Function

Shift + F4
Find Again

Shift + F5
Find

Shift + F6
Prev Pane

Shift + F8
Add To Selection

Shift + F9
Calculate Worksheet

Shift + F10
Context Menu

Shift + F11
New Worksheet

Shift + F12
Save

Shift + Left Arrow
Select Left

Shift + Right Arrow
Select Right

Shift + Up Arrow
Select Up

Shift + Down Arrow
Select Down

Shift + Space Bar
Select Row

Shift + Tab
Move Left

CTRL + F3
Define Name

CTRL + F4
Close Window

CTRL + F5
Restore Window Size

CTRL + F6
Next Workbook

CTRL + F7
Move Window

CTRL + F8
Resize Window

CTRL + F9
Minimize Workbook

CTRL + F10
Restore Workbook

CTRL + F11
New Macro Sheet

CTRL + F12
Open

CTRL + A
Select All

CTRL + B
Bold

CTRL + C
Copy

CTRL + D
Fill Down

CTRL + F
Find

CTRL + G
Goto

CTRL + H
Replace

CTRL + I
Italics

CTRL + K
Insert Hyperlink

CTRL + N
New Workbook

CTRL + O
Open Workbook

CTRL + P
Print

CTRL + R
Fill Right

CTRL + S
Save

CTRL + U
Underline

CTRL + V
Paste

CTRL + W
Close Workbook

CTRL + X
Cut

CTRL + Y
Repeat Active

CTRL + Z
Undo

CTRL + ` (~)
Toggle Formula View

CTRL + 1 (!)
Cell Format

CTRL + 2 (@)
Toggle Bold

CTRL + 3 (#)
Toggle Italics

CTRL + 4 ($)
Toggle Underline

CTRL + 5 (%)
Toggle Strikethru

CTRL + 8 (*)
Outline

CTRL + 9 (()
Hide Rows

CTRL + 0 ())
Hide Columns

CTRL + -
Delete Selection

CTRL + [
Direct Dependents

CTRL + ]
All Dependents

CTRL + ; (semicolon)
Insert Date

CTRL + : (colon)
Insert Time

CTRL + /
Select Array

CTRL + \
Select Differences

CTRL + Insert
Copy

CTRL + Delete
Delete To End Of Line

CTRL + Home
Start Of Worksheet

CTRL + End
End Of Worksheet

CTRL + Page Up
Previous Worksheet

CTRL + Page Down
Next Worksheet

CTRL + Left Arrow
Move Left Area

CTRL + Right Arrow
Move Right Area

CTRL + Up Arrow
Move Up Area

CTRL + Down Arrow
Move Down Area

CTRL + Space Bar
Select Column

CTRL + Tab
Next Window

CTRL + BackSpace
Goto Active Cell

ALT + F1
Insert Chart Sheet

ALT + F2
Save As

ALT + F4
Quit Excel

ALT + F6
Switch To VBA

ALT + F8
Macro List

ALT + F11
VB Editor

ALT + D
Data Menu

ALT + E
Edit Menu

ALT + F
File Menu

ALT + H
Help Menu

ALT + I
Insert Menu

ALT + O
Format Menu

ALT + T
Tools Menu

ALT + W
Window Menu

ALT + -
Control Menu

ALT + = (+)
Auto Sum

ALT + ; (semicolon)
Select Visible Cells

ALT + ' (apostrophe)
Style

ALT + Page Up
Left 1 screen

ALT + Page Down
Right 1 screen

ALT + Down Arrow
Drop down list

ALT + Space Bar
Control Box

ALT + Tab
Next Application

Shift + Ctrl + F3
Names From Labels

Shift + Ctrl + F6
Prev Workbook

Shift + Ctrl + F12
Print

Shift + Ctrl + A
Formula Arguments

Shift + Ctrl + F
Font Name

Shift + Ctrl + O
Select Comments

Shift + Ctrl + P
Font Size

Shift + Ctrl + ` (~)
General Format

Shift + Ctrl + 1 (!)
Number Format

Shift + Ctrl + 2 (@)
Time Format

Shift + Ctrl + 3 (#)
Date Format

Shift + Ctrl + 4 ($)
Currency Format

Shift + Ctrl + 5 (%)
Percent Format

Shift + Ctrl + 6 (^)
Exponent Format

Shift + Ctrl + 7 (&)
Apply Border

Shift + Ctrl + 8 (*)
Select Region

Shift + Ctrl + 9 (()
Unhide Rows

Shift + Ctrl + 0 ())
Unhide Columns

Shift + Ctrl + -
No Border

Shift + Ctrl + = (+)
Insert dialog

Shift + Ctrl + [
Direct Precedents

Shift + Ctrl + ]
All Precedents

Shift + Ctrl + ; (semicolon)
Insert Time

Shift + Ctrl + ' (apostrophe)
Copy Cell Value Above

Shift + Ctrl + /
Select Array

Shift + Ctrl + \
Select Unequal Cells

Shift + Ctrl + Space Bar
Select All

Shift + Ctrl + Tab
Previous Window

MicroSoft-Word

1
Ctrl + Shift + A
AllCaps
Makes the selection all capitals (toggle)

2
Alt + Ctrl + 1
ApplyHeading1
Applies Heading 1 style to the selected text

3
Alt + Ctrl + 2
ApplyHeading2
Applies Heading 2 style to the selected text

4
Alt + Ctrl + 3
ApplyHeading3
Applies Heading 3 style to the selected text

5
Ctrl + Shift + L
ApplyListBullet
Applies List Bullet style to the selected text

6
Alt + F10
AppMaximize
Enlarges the application window to full size

7
Alt + F5
AppRestore
Restores the application window to normal size

8
Ctrl+B
Bold
Makes the selection bold (toggle)

9
Ctrl + PgDn
BrowseNext
Jump to the next browse object

10
Ctrl + PgUp
BrowsePrev
Jump to the previous browse object

11
Alt + Ctrl + Home
BrowseSel
Select the next/prev browse object

12
Esc
Cancel
Terminates an action

13
Ctrl+E
CenterPara
Centers the paragraph between the indents

14
Shift+F3
ChangeCase
Changes the case of the letters in the selection

15
Left arrow
CharLeft
Moves the insertion point to the left one character

16
Shift + Left arrow
CharLeftExtend
Extends the selection to the left one character

17
Rt arrow
CharRight
Moves the insertion point to the right one character

18
Shift + Rt arrow
CharRightExtend
Extends the selection to the right one character

19
Alt + Shift + C
ClosePane
Closes the active window pane (if you are in Normal
View and have, for example, the Footnote pane open)

20
Alt+Drag (or press Ctrl + Shift + F8 and drag, but Alt
+ Drag is far easier!)
ColumnSelect
Selects a columnar block of text

21
Ctrl +Shift+C
CopyFormat
Copies the formatting of the selection

22
Shift + F2
CopyText
Makes a copy of the selection without using the
clipboard (press Return to paste)

23
Alt + F3
CreateAutoText
Adds an AutoText entry to the active template

24
Ctrl+ Backspace
DeleteBackWord
Deletes the previous word without putting it on the
Clipboard

25
Ctrl + Del
DeleteWord
Deletes the next word without putting it on the
Clipboard

26
Ctrl+W, Ctrl+F4
DocClose
Prompts to save the document and then closes the
active window. (But doesn't intercept the menu
command)

27
Ctrl + F10
DocMaximize
Enlarges the active window to full size

28
Ctrl + F7
DocMove
Changes the position of the active window

29
Ctrl + F5
DocRestore
Restores the window to normal size

30
Ctrl + F8
DocSize
Changes the size of the active window

31
Alt + Ctrl + S
DocSplit
Splits the active window horizontally and then adjusts
the split

32
Alt + Shift + F9
DoFieldClick
Executes the action associated with macrobutton fields

33
Ctrl + Shift + D
DoubleUnderline
Double underlines the selection (toggle)

34
Alt R, G
DrawGroup
Groups the selected drawing objects

35
Alt R, I
DrawSnapToGrid
Sets up a grid for aligning drawing objects

36
Alt R, U
DrawUngroup
Ungroups the selected group of drawing objects

37
Ctrl+Shift+F5 (Or: Alt I, K)
EditBookmark
Brings up the bookmark dialog

38
Del
EditClear
Performs a forward delete or removes the selection
without putting it on the Clipboard

39
Ctrl+C
EditCopy
Copies the selection and puts it on the Clipboard

40
Ctrl+X
EditCut
Cuts the selection and puts it on the Clipboard

41
Ctrl+F
EditFind
Finds the specified text or the specified formatting

42
F5, Ctrl+G
EditGoTo
Jumps to a specified place in the active document

43
Alt E, K
EditLinks
Allows links to be viewed, updated, opened, or removed

44
Ctrl+V
EditPaste
Inserts the Clipboard contents at the insertion point

45
Alt E, S
EditPasteSpecial
Inserts the Clipboard contents as a linked object,
embedded object, or other format

46
Alt + Shift + Backspc
EditRedo
Redoes the last action that was undone

47
F4
EditRedoOrRepeat
Repeats the last command, or redoes the last action
that was undone (unfortunately, doesn't work for as
many commands in Word 2000 as in Word 97 and below,
but this is still one of Word's most useful shortcuts,
if not the most useful)

48
Ctrl+H
EditReplace
Finds the specified text or the specified formatting
and replaces it

49
Ctrl+A
EditSelectAll
Selects the entire document

50
Ctrl+Z
EditUndo
Reverses the last action

51
Alt + PageDn (to select to end of column, use Alt +
Shift + PgDn)
EndOfColumn
Moves to the last cell in the current table column

52
Ctrl+Shift+End
EndOfDocExtend
Extends the selection to the end of the last line of
the document

53
Ctrl+End
EndOfDocument
Moves the insertion point to the end of the last line
of the document

54
End
EndOfLine
Moves the insertion point to the end of the current
line

55
Shift+End
EndOfLineExtend
Extends the selection to the end of the current line

56
Alt+End
EndOfRow
Moves to the last cell in the current row

57
Alt + Ctrl + PgDn
EndOfWindow
Moves the insertion point to the end of the last
visible line on the screen

58
Shift + Alt + Ctrl + PgDn
EndOfWindowExtend
Extends the selection to the end of the last visible
line on the screen

59
F8 (press Esc to turn off)
ExtendSelection
Turns on extend selection mode and then expands the
selection with the direction keys

60
Alt + F4 (<9>)
FileCloseOrExit
Closes the current document, or if no documents are
open, quits Word. Horrible command, as it makes it a
long winded business to quit Word. But there's a
simple solution - assign Alt+F4 to FileExit instead.

61
Alt + F4 (Word 97)
FileExit
Quits Microsoft Word and prompts to save the documents
(does intercept the menu item, but not the keyboard
shortcut, or the x button. An AutoExit macro is
usually a better way of intercepting this).

62
NOT Ctrl+N!!
FileNew
Creates a new document or template (brings up the
dialog). Note that: Word pretends that Ctrl+N is
assigned to FileNew but it isn't, it's assigned to
FileNewDefault You can fix this in Word 2000 by
assigning Ctrl+N to the FileNewDialog command. In Word
97 the only way to fix it is to create a macro called
FileNew (to do this, press Alt + F8, type "FileNew"
without the quotes and Click "Create". The macro will
automatically contain the code needed to make it
work).

63
Ctrl+N
FileNewDefault
Creates a new document based on the Normal template.

64
Ctrl+O
FileOpen
Opens an existing document or template

65
Alt F, U
FilePageSetup
Changes the page setup of the selected sections

66
Ctrl + P
FilePrint
Prints the active document (brings up the dialog)

67
Ctrl+F2
FilePrintPreview
Displays full pages as they will be printed

68
Alt F, I
FileProperties
Shows the properties of the active document

69
Ctrl+S
FileSave
FileSave

70
Alt F, A (or F12)
FileSaveAs
Saves a copy of the document in a separate file
(brings up the dialog)

71
Ctrl+Shift+F
Font
Activates the Fonts listbox on the formatting toolbar

72
Ctrl+Shift+P
FontSizeSelect
Activates the Font Size drop-down on the formatting
toolbar

73
Alt + Ctrl + K
FormatAutoFormat
Automatically formats a document (or sometimes,
automatically screws it up)

74
Alt O, B
FormatBordersAndSha ding
Changes the borders and shading of the selected
paragraphs, table cells, and pictures

75
Alt O, E
FormatChangeCase
Changes the case of the letters in the selection

76
Alt O, C
FormatColumns
Changes the column format of the selected sections
(brings up the dialog)

77
Alt O, D
FormatDropCap
Formats the first character of current paragraph as a
dropped capital (must select it first)

78
Ctrl+D
FormatFont
Brings up the Format + Font dialog

79
Alt + Shift + R
FormatHeaderFooterL ink
Links the current header/footer to the previous
section (but does not intercept the button on the
Header Footer toolbar)

80
Alt O, P
FormatParagraph
Brings up the Format Paragraph dialog

81
Alt O, S
FormatStyle
Applies, creates, or modifies styles

82
Alt O, T
FormatTabs
Brings up the Format Tabs dialog

83
Shift + F5
GoBack
Returns to the previous insertion point (goes back to
up to 3 points, then returns to where you started;
this is one of the most useful shortcuts of them all.
Also useful when opening a document, if you want to g
straight to where you were last editing it)

84
Ctrl + >
GrowFont
Increases the font size of the selection

85
Ctrl + ]
GrowFontOnePoint
Increases the font size of the selection by one point

86
Ctrl + T (or drag the ruler)
HangingIndent
Increases the hanging indent

87
F1
Help
Microsoft Word Help

88
Shift + F1
HelpTool
Lets you get help on a command or screen region or
examine text properties

89
Ctrl + Shift + H
Hidden
Makes the selection hidden text (toggle)

90
Click on it
HyperlinkOpen
Connect to a hyperlink's address

91
Ctrl + M (or drag the ruler)
Indent
Moves the left indent to the next tab stop

92
Alt + Ctrl + M (or Alt I, M)
InsertAnnotation
Inserts a comment

93
F3
InsertAutoText
Replaces the name of the AutoText entry with its
contents

94
Alt I, B
InsertBreak
Ends a page, column, or section at the insertion point

95
Alt I, C
InsertCaption
Inserts a caption above or below a selected object

96
Ctrl + Shift + Return
InsertColumnBreak
Inserts a column break at the insertion point

97
Alt + Shift + D
InsertDateField
Inserts a date field

98
Alt + Ctrl + D
InsertEndnoteNow
Inserts an endnote reference at the insertion point
without displaying the dialog

99
Alt I, F
InsertField
Inserts a field in the active document

100
Ctrl+F9
InsertFieldChars
Inserts an empty field with the enclosing field
characters

101
Alt I, L
InsertFile
Inserts the text of another file into the active
document

102
Alt I, N
InsertFootnote
Inserts a footnote or endnote reference at the
insertion point

103
Alt + Ctrl + F
InsertFootnoteNow
Inserts a footnote reference at the insertion point
without displaying the dialog

104
Ctrl + K
InsertHyperlink
Insert Hyperlink

105
Alt I, D
InsertIndexAndTable s
Inserts an index or a table of contents, figures, or
authorities into the document

106
Alt + Ctrl + L
InsertListNumField
Inserts a ListNum Field

107
Alt + Shift + F
InsertMergeField
Brings up a dialog to insert a mail merge field at the
insertion point. (It does not intercept the button on
the Mail merge. toolbar)

108
Ctrl + Return
InsertPageBreak
Inserts a page break at the insertion point

109
Alt + Shift + P
InsertPageField
Inserts a page number field

110
Ctrl + Shift + F3
InsertSpike
Empties the spike AutoText entry and inserts all of
its contents into the document

111
Alt + Shift + T
InsertTimeField
Inserts a time field

112
Ctrl + I
Italic
Makes the selection italic (toggle)

113
Ctrl + J
JustifyPara
Aligns the paragraph at both the left and the right
indent

114
Ctrl + L
LeftPara
Aligns the paragraph at the left indent

115
Down arrow
LineDown
Moves the insertion point down one line

116
Shift + down arrow
LineDownExtend
Extends the selection down one line

117
Up arrow
LineUp
Moves the insertion point up one line

118
Shift + up arrow
LineUpExtend
Extends the selection up one line

119
Ctrl + F11
LockFields
Locks the selected fields to prevent updating

120
Alt + Shift + K
MailMergeCheck
Checks for errors in a mail merge

121
Alt+Shift+E
MailMergeEditDataSo urce
Lets you edit a mail merge data source

122
Alt + Shift + N
MailMergeToDoc
Collects the results of the mail merge in a document

123
Alt Shift + M
MailMergeToPrinter
Sends the results of the mail merge to the printer

124
Alt + Shift + I
MarkCitation
Marks the text you want to include in the table of
authorities

125
Alt + Shift + X
MarkIndexEntry
Marks the text you want to include in the index

126
Alt + Shift + O
MarkTableOfContents Entry
Inserts a TC field (but it is far better to use
Heading Styles to generate your Table of Contents
instead)

127
Alt or F10
MenuMode
Makes the menu bar active

128
Alt + Shift + F11
MicrosoftScriptEdit or
Starts or switches to Microsoft Development
Environment application, allowing you to view the
HTML/XML source code that would be behind the document
if it were in ..htm format (or that is behind it if it
already is in .htm format).

129
Alt + Ctrl + F1
MicrosoftSystemInfo
Execute the Microsoft System Info application

130
F2
MoveText
Moves the selection to a specified location without
using the clipboard (press Return to execute the more)

131
Tab
NextCell
Moves to the next table cell

132
F11
NextField
Moves to the next field

133
Alt + F7
NextMisspelling
Find next spelling error

134
Alt + down arrow
NextObject
Moves to the next object on the page

135
Ctrl + F6
NextWindow
Switches to the next document window, equivalent to
selecting a document from the Window menu.

136
Ctrl+Shift+N
NormalStyle
Applies the Normal style

137
Ctrl + 0
OpenOrCloseUpPara
Sets or removes extra spacing above the selected
paragraph

138
F6
OtherPane
Switches to another window pane in Normal View (for
instance, if you have if you have a Footnotes pane
open in Normal view and want to switch to the main
document and back without closing the pane).

139
Alt + _
OutlineCollapse
Collapses an Outline in Outline View by one level

140
Alt+Shift+rt arrow
OutlineDemote
Demotes the selected paragraphs one heading level

141
Alt + +
OutlineExpand
Expands an Outline in Outline View by one level

142
Alt+Shift+down arrow
OutlineMoveDown
Moves the selection below the next item in the outline

143
Alt+Shift+up arrow
OutlineMoveUp
Moves the selection above the previous item in the
outline

144
Alt+Shift+left arrow
OutlinePromote
Promotes the selected paragraphs one heading level

145
Alt + Shift + L
OutlineShowFirstLin e
Toggles between showing the first line of each
paragraph only or showing all of the body text in the
outline

146
Ins
Overtype
Toggles the typing mode between replacing and
inserting

147
PgDn
PageDown
Moves the insertion point and document display to the
next screen of text

148
Shift+ PgDn
PageDownExtend
Extends the selection and changes the document display
to the next screen of text

149
PgUp
PageUp
Moves the insertion point and document display to the
previous screen of text

150
Shift + PgUp
PageUpExtend
Extends the selection and changes the document display
to the previous screen of text

151
Ctrl + down arrow
ParaDown
Moves the insertion point to the beginning of the next
paragraph

152
Shift + Ctrl + down arrow
ParaDownExtend
Extends the selection to the beginning of the next
paragraph

153
Ctrl + up arrow
ParaUp
Moves the insertion point to the beginning of the
previous paragraph

154
Shift + Ctrl + up arrow
ParaUpExtend
Extends the selection to the beginning of the previous
paragraph

155
Ctrl+Shift+V
PasteFormat
Applies the previously copied formatting to selection

156
Shift + Tab
PrevCell
Moves to the previous table cell

157
Shift + F11
PrevField
Moves to the previous field

158
Alt + up arrow
PrevObject
Moves to the previous object on the page

159
Ctrl + Shift + F6
PrevWindow
Switches back to the previous document window

160
Sfift+F4
RepeatFind
Repeats Go To or Find to find the next occurrence

161
Ctrl+Spacebar
ResetChar
Makes the selection the default character format of
the applied style

162
Ctrl+Q
ResetPara
Makes the selection the default paragraph format of
the applied style

163
Ctrl +R
RightPara
Aligns the paragraph at the right indent

164
Ctrl + *
ShowAll
Shows/hides all nonprinting characters

165
Alt + Shift + A
ShowAllHeadings
Displays all of the heading levels and the body text
in Outline View

166
Ctrl + <
ShrinkFont
Decreases the font size of the selection

167
Ctrl + [
ShrinkFontOnePoint
Decreases the font size of the selection by one point

168
Ctrl + Shift + K
SmallCaps
Makes the selection small capitals (toggle)

169
Ctrl + 1
SpacePara1
Sets the line spacing to single space

170
Ctrl + 5
SpacePara15
Sets the line spacing to one-and-one- half space

171
Ctrl + 2
SpacePara2
Sets the line spacing to double space

172
Ctrl + F3
Spike
Deletes the selection and adds it to the "Spike"
AutoText entry (which allows you to move text and
graphics from nonadjacent locations)

173
Alt + PgUp
StartOfColumn
Moves to the first cell in the current column

174
Ctrl+Shift+Home
StartOfDocExtend
Extends the selection to the beginning of the first
line of the document

175
Ctrl +Home
StartOfDocument
Moves the insertion point to the beginning of the
first line of the document

176
Home
StartOfLine
Moves the insertion point to the beginning of the
current line

177
Shift+Home
StartOfLineExtend
Extends the selection to the beginning of the current
line

178
Alt+Home
StartOfRow
Moves to the first cell in the current row

179
Alt+Ctrl+PgUp
StartOfWindow
Moves the insertion point to the beginning of the
first visible line on the screen

180
Shift+ Alt+Ctrl+PgUp
StartOfWindowExtend
Extends the selection to the beginning of the first
visible line on the screen

181
Strl + Shift + S
Style
Activates the Style drop-down on the Formatting
toolbar

182
Ctrl + =
Subscript
Makes the selection subscript (toggle)

183
Ctrl + +
Superscript
Makes the selection superscript (toggle)

184
Ctrl + Shift + Q
SymbolFont
Applies the Symbol font to the selection

185
Alt A, F
TableAutoFormat
Applies a set of formatting to a table

186
Alt A, H
TableHeadings
Toggles table headings attribute on and off

187
Alt + click
(Alt + drag to select several)
TableSelectColumn
Selects the current column in a table

188
Click in left margin
TableSelectRow
Selects the current row in a table

189
Alt + double-click
TableSelectTable
Selects an entire table

190
Alt + Ctrl + U
TableUpdateAutoForm at
Updates the table formatting to match the applied
Table Autoformat settings

191
Shift + F9 (Alt + F9 toggles all field codes on or
off)
ToggleFieldDisplay
Shows the field codes or the results for the selection
(toggle)

192
Alt T, C
ToolsCustomize
Allows you to customizes the Word user interface
(menus, keyboard and toolbars) and store the
customizations in a template (defaults to Normal.dot,
so be careful!)

193
Alt + F8
ToolsMacro
Runs, creates, deletes, or revises a macro

194
F7
ToolsProofing
Checks the spelling and grammar in the active document

195
Ctr.l + Shift + E
ToolsRevisionMarksT oggle
Toggles track changes for the active document

196
Shift + F7
ToolsThesaurus
Finds a synonym for the selected word

197
Ctrl+U
Underline
Formats the selection with a continuous underline
(toggle)

198
Ctrl + Shift + T
(or drag the ruler)
UnHang
Decreases the hanging indent

199
Ctrl + Shift + M
(or drag the ruler)
UnIndent
Moves the left indent to the previous tab stop

200
Ctrl+Shift+F9
UnlinkFields
Permanently replaces the field codes with the results

201
Ctrl + Shift + F11
UnlockFields
Unlocks the selected fields for updating

202
F9
UpdateFields
Updates and displays the results of the selected
fields

203
Ctrl + Shiift + F7
UpdateSource
Copies the modified text of a linked file back to its
source file

204
Hover over comment
ViewAnnotations
Show or hide the comment pane

205
Dbl-click the endnote reference
ViewEndnoteArea
If in Normal View, opens a pane for viewing and
editing the endnote (toggle). If in Page/Print Layout
View, switches from the body text to the endnote or
vice versa

206
At + F9
ViewFieldCodes
Shows the field codes or results for all fields
(toggle)

207
Dbl-click the footnote reference
ViewFootnoteArea
If in Normal View, opens a pane for viewing and
editing the footnote (toggle). If in Page/Print Layout
View, switches from the body text to the footnote or
vice versa.

208
Alt V, F
ViewFootnotes
If in Normal View, opens a pane for viewing and
editing footnotes and endnotes (toggle). If in
Page/Print Layout View, switches from the body text to
the footnotes/endnotes or vice versa.

209
Alt V, H
ViewHeader
Displays header in page layout view

210
Alt V, N
(or Alt + Ctrl + N)
ViewNormal
Changes the editing view to normal view

211
Alt V, O
(or Alt + Ctrl + O)
ViewOutline
Displays a document's outline

212
Alt V, P
(or Alt + Ctrl + P)
ViewPage
Displays the page more-or-less as it will be printed, and allows editing (In Word 2000 the menu item is called Print Layout, but fortunately the command hasn't changed.

213
Alt + F11
ViewVBCode
Shows the VB editing environment (Tools + Macro + Visual Basic Editor)

214
Alt + left arrow
WebGoBack
Backward hyperlink (useful if you clicked on a page number hyperlink in the table of contents and then want to return to the TOC)

215
Alt + rt arrow
WebGoForward
Forward hyperlink

216
Alt W, A
WindowArrangeAll
Arranges windows as non-overlapping tiles

217
Ctrl + left arrow
WordLeft
Moves the insertion point to the left one word

218
Shift + Ctrl + left arrow
WordLeftExtend
Extends the selection to the left one word

219
Ctrl + rt arrow
WordRight
Moves the insertion point to the right one word

220
Shift + Ctrl + rt arrow
WordRightExtend
Extends the selection to the right one word

221
Ctrl + Shift + W
WordUnderline
Underlines the words but not the spaces in the selection (toggle)