![]() |
|
|||||||
|
|
Thread Tools | Display Modes |
|
#7
|
|||
|
|||
|
Thanks so much Macropod, Guessed and gMayor. It's great to know somebody out there can help me. I'm surprised at how differently you guys have approached it. Before I attempt to get it working with the advice provided I had a couple of questions.
1) The three of you have provided different solutions for setting the range for the table; gmayor; You have defined a variable Orng = doc.Range macropod; you have used .Characters.Last which I like cause my simple vba mind can make sense of it and I can see it working throughout the document. guessed; You have used .Paragraphs(2) Are there any real advantages of using any method over another. I must admit I don't really understand how the defining of rng = doc.Range works. Are you setting the whole document as a range? I sort of like just working from where the last character was are there any pitfalls with this? 2) Macropod could you please explain why you define the style (wdStyleNormal) at the beginning but do not seem to use it later? 3) What does turning screen updating off and on do? 4) What is the difference between saving at the start and the end? I'm very grateful for the prompt and thorough help amazing. Thanks Ron |
| Tags |
| add, tables, vba |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Adding furigana to a Word document | rjribbit | Word | 0 | 12-03-2015 09:33 AM |
Inexperienced user having dificulty adding text to document I created. Fixed text moves around.
|
Athalwolf | Word | 2 | 02-08-2015 09:08 AM |
Error message opening a document in Word "Word cannot open this file because it is larger than 512 M
|
poonamshedge | Word | 2 | 09-11-2014 06:11 AM |
Adding and Moving parts of a document in Word
|
PauledInAction | Word | 4 | 07-13-2012 02:38 PM |
| Adding bullets in a protected Word document | Cindylu3 | Word | 0 | 10-03-2008 03:16 PM |