![]() |
|
#4
|
||||
|
||||
|
It is only significant in that it wasn't in the selection I pasted.
Option Explicit forces you to declare your variables. It is good to include it and can help when debugging. You can get the VBA editor to add it automatically to your new modules, by setting the option in Tools > Options > Editor.
__________________
Graham Mayor - MS MVP (Word) (2002-2019) Visit my web site for more programming tips and ready made processes www.gmayor.com |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Macro to copy cell info to multiple documents | Patrick Innes | Word VBA | 2 | 02-18-2015 08:38 PM |
Trouble automatically running user form
|
Lostinvba | Word VBA | 3 | 11-23-2013 07:22 PM |
I'm having trouble creating a Merge using label form and placing a shape in the text
|
blockie | Mail Merge | 8 | 11-13-2013 11:28 PM |
Macro trouble
|
Zack | Excel | 2 | 10-14-2010 12:07 PM |
| Trouble updating a form | TomCaesar | Outlook | 0 | 11-29-2006 10:52 AM |