![]() |
|
|||||||
|
|
Thread Tools | Display Modes |
|
#4
|
||||
|
||||
|
Quote:
Set objDoc = .Documents.Add 'If no template which indicates you're using Word's Normal template instead of a specific template for this project. Were you to create a template for this project, and use: Set objDoc = .Documents.Add(Template:="Filepath\Filename.dotx") where 'Filepath\Filename.dotx' represents the template's path and name, your code could be much simpler. I also don't see any indication you've actually tried the code I posted or that you've paid any attention to my request in your other thread that you use code tags when posting code. I also reiterate my previous advice that you don't need to seek the header or select anything.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
Open header to insert text into bookmark
|
Amapola188 | Word VBA | 3 | 07-12-2012 05:16 PM |
| Excel Pivot Table Calculated Field | BertLady | Excel | 0 | 05-21-2012 10:51 AM |
| Late Binding on SHDocVw | tinfanide | Excel Programming | 1 | 05-19-2012 10:00 PM |
Putting a bookmark on a REF field in the selection
|
b0x4it | Word VBA | 4 | 05-26-2011 01:14 AM |
Highlight and put bookmark on the closest field to the cursor
|
b0x4it | Word VBA | 11 | 05-19-2011 11:15 PM |