![]() |
#3
|
|||
|
|||
![]()
Some advice re. recording your own macros:
1. Have your cursor where you want it before you begin recording. If your macro does something to selected text, make sure you select some text before you begin recording the macro. 2. Get to know the keyboard shortcuts for moving the cursor (e.g. Ctrl + right arrow goes to start of next word, Ctrl + down arrow goes to start of next paragraph, adding Shift key to these selects next word/paragraph). Word 'understands' these keystrokes as 'next word' or 'next paragraph'. If you use the mouse to move the cursor, Word only knows that you are going to a particular point on the page. This can be important if your macro involves moving text or going to a particular point before doing a command. Start with some simple macros, e.g. to highlight some text in yellow. 1. Select some text. 2. View tab, Macros, Record Macro. 3. Give the macro a name (no spaces), e.g. HighlightYellow. 4. Click the Keyboard button and assign it a keyboard shortcut. I use Ctrl + Shift + Y (for yellow!). 5. Home tab, highlight, select yellow. 6. For good measure, right arrow to move the cursor so text is no longer selected. 7. View tab, Macros, Stop recording. You should now be able to highlight text by selecting it and pressing Ctrl + Shift + Y. You can do this in two parts. First, create the macro and make sure it's OK. Then assign a keyboard shortcut (or add it to a menu) using Customize in Word Options (via the Office button). |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
macros | trancetheory | Outlook | 0 | 05-11-2010 09:31 AM |
![]() |
krdzal | Excel | 1 | 04-06-2010 07:43 AM |
Macros in Word | khamilton | Word | 0 | 11-22-2009 06:38 PM |
Macros in Word | Jehanzeb | Word | 0 | 11-12-2009 04:43 AM |
Macros & Passwords | paulrm906 | Excel | 0 | 03-04-2006 01:30 AM |