Word 2000, VBA and "Track Changes" 
Author Message
 Word 2000, VBA and "Track Changes"

Greetings.

So I have this template for a technical manual in the works (two columns
on one page, no columns on the next, and 'text' always follows
'graphics') ... and eventually, we will need to track changes to the
"finished" document.  The spec I need to adhere to says I need a bar in
the columns next to the changes (Word's Track Changes can do that).  

I also need a bizarre date/time/chapter/verse string inserted in one of
the columns.  This would be inserted into a text box, ideally created
'on the fly' by VBA.

The question:  How do I point to this text box from within VBA?

To complicate matters more, these text boxes will increase in number for
each person that views the document ....

Any suggestions?

--gdw

--
Remove the 'NYET' and you'll be all set.



Wed, 10 Sep 2003 08:29:13 GMT  
 Word 2000, VBA and "Track Changes"
Have you considered using the Comment feature instead?
--
Charles Kenyon

Word New User FAQ & Web Directory:
http://www.addbalance.com/word

Legal Users' Guide to Microsoft Word (supplemented)
http://www.addbalance.com/usersguide
 --------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.


Quote:
> Greetings.

> So I have this template for a technical manual in the works (two columns
> on one page, no columns on the next, and 'text' always follows
> 'graphics') ... and eventually, we will need to track changes to the
> "finished" document.  The spec I need to adhere to says I need a bar in
> the columns next to the changes (Word's Track Changes can do that).

> I also need a bizarre date/time/chapter/verse string inserted in one of
> the columns.  This would be inserted into a text box, ideally created
> 'on the fly' by VBA.

> The question:  How do I point to this text box from within VBA?

> To complicate matters more, these text boxes will increase in number for
> each person that views the document ....

> Any suggestions?

> --gdw

> --
> Remove the 'NYET' and you'll be all set.



Wed, 10 Sep 2003 16:41:05 GMT  
 Word 2000, VBA and "Track Changes"
Geez Glen, take care mate.  You are sailing perilously close to thin ice
there.

To Point to a Text Box, you have to enumerate the collection reading the
contents until you find the one you want.  You then set and object variable
equal to it and you can then manipulate its properties from VBA.

To add a new one you use the Add method on the collection with the Range set
to Selection.Range.

But before you start be aware of two things:

1)  Anything in a text box is invisible to the TOC, Index and
Cross-reference generators.  It's a bug.  Use a frame instead if you need to
access the contents with the table generators.

2)  The more text boxes you pack in the document the more unstable it gets.
Above 100 you are dangling by your fingernails, and somewhere south of 255
the document will corrupt and refuse to open.

Hope this helps



Quote:
> Greetings.

> So I have this template for a technical manual in the works (two columns
> on one page, no columns on the next, and 'text' always follows
> 'graphics') ... and eventually, we will need to track changes to the
> "finished" document.  The spec I need to adhere to says I need a bar in
> the columns next to the changes (Word's Track Changes can do that).

> I also need a bizarre date/time/chapter/verse string inserted in one of
> the columns.  This would be inserted into a text box, ideally created
> 'on the fly' by VBA.

> The question:  How do I point to this text box from within VBA?

> To complicate matters more, these text boxes will increase in number for
> each person that views the document ....

> Any suggestions?

> --gdw

--
Please post replies to the newsgroup to maintain the thread.

John McGhie, Microsoft MVP -- Word
Consultant Technical Writer

+61 4 1209 1410; Sydney, Australia: GMT + 10 hrs



Sat, 13 Sep 2003 18:39:27 GMT  
 Word 2000, VBA and "Track Changes"

Quote:

> Geez Glen, take care mate.  You are sailing perilously close to thin ice
> there.

!  Uh-oh ....

(Methodology *snipped*)

Quote:
> But before you start be aware of two things:

> 1)  Anything in a text box is invisible to the TOC, Index and
> Cross-reference generators.  It's a bug.  Use a frame instead if you need
> to access the contents with the table generators.

> 2)  The more text boxes you pack in the document the more unstable it
> gets. Above 100 you are dangling by your fingernails, and somewhere south of
> 255 the document will corrupt and refuse to open.

Wow, I did not know this --! Thanks for that; it will help on future
projects.

Quote:
> Hope this helps

Much.  Thank you.  Alas, this is my last day on this job (funding did
not materialize) ... but I will include your message for the next person.

--gdw

--
Remove the 'NYET' and you'll be all set.



Wed, 17 Sep 2003 00:52:23 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. word 2000 hangs at "document.open"

2. "Save As" breaks Word 2000

3. VBA Word 2000 Selection.extend Character:= """"

4. GetObject("","InternetExplorer.Application") fails in Excel VBA

5. GetObject("","InternetExplorer.Application") fails in Excel VBA

6. Word VBA "documentation"

7. change "Page numbering" with VBA

8. change "printers properties" with vba

9. Tracking "overflow" Macro

10. Tracking down "Error opening file" message

11. MCISendCommand() to determine "playable" CD tracks

12. SSTab "loses track" of child controls

 

 
Powered by phpBB® Forum Software