#1
|
|||
|
|||
Just Starting Out, Pretty Basic Question
I've finally begun playing with macros, mostly find/replace and formatting.
My question is: I have a handful of different macros now. When I go in to edit any of them, the code from ALL of them appears. Have I set something up wrong, or is this just how it's always listed? It just seems....unwieldy, and if there's something wrong, I'd rather cut it off now rather than after I've added several more. Appreciate the advice! |
#2
|
|||
|
|||
It sounds like you have written all of your procedures in the same module (perhaps the ThisDocument Module). When you open the VB Editor, if not displayed, display the Project Explorer pane (Veiw>Project Explorer). You can organize your macros in named standard modules simply by using Insert>Module. User the Properties pane to give meaningful names to your standard modules.
There are some illustrations here that may help: http://gregmaxey.com/word_tip_pages/...ng_macros.html |
#3
|
|||
|
|||
Thank You!
That link looks especially helpful! |
#4
|
|||
|
|||
It is quite common to have multiple (read many) Subs in any given module. One thing that may help is the two icon buttons at the lower left of the code window.
The default button has FIVE lines (long, short, long, short, long). This displays all of the Subs in the module. The other has THREE lines (long, short, long). This displays only the Sub the cursor is in. It is a fast easy way to work on only the Sub you want to work on. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
basic navigation | george dyke | Word | 2 | 06-19-2014 03:26 PM |
Need some basic help please!!! | jonatob | Office | 1 | 11-30-2011 05:14 AM |
Forms: A very basic question/request | Coli | Outlook | 0 | 08-24-2011 11:14 AM |
A basic question I'm sure. | talosian | PowerPoint | 0 | 04-21-2011 05:43 AM |
Word Basic 2003 to Word Basic 2007 Incompatibility | Mark1110 | Word VBA | 1 | 12-29-2010 11:04 PM |