Ed <ed_millis@NO_SPAM.yahoo.com> was very recently heard to utter:
> I haven't tried VBA in Publisher yet, though I've done a bit in Word
> and Excel. I thought I'd read a bit on the Object Model first. I'm
> used to using Find to get text, and then manipulating the Range
> returned by Find. Publisher doesn't seem to have these. Is there an
> equivalent method to find text in a publication, collapse the range,
> and insert new text?
You can use the FindReplace object in Publisher 2003 to perform text
searches on a Document or a particular TextRange.
Publisher 2002, unfortunately, does not offer this object.
I have not used the object model in Excel, so I'm not sure what you mean by
"collapse the range".

Signature
Ed Bennett - MVP Microsoft Publisher
Ed - 08 Sep 2005 15:13 GMT
My apologies - I neglected to mention I have Publisher 2000.
In Word VBA, you can set a range (for example) from |<< here to here >>|.
If you collapse the range to the start, then anything you do (such as insert
text) will go in front of |<< here. If you collapse to the end, it will go
after here >>|.
Thank you for your reply.
Ed
> Ed <ed_millis@NO_SPAM.yahoo.com> was very recently heard to utter:
> > I haven't tried VBA in Publisher yet, though I've done a bit in Word
[quoted text clipped - 11 lines]
> I have not used the object model in Excel, so I'm not sure what you mean by
> "collapse the range".
Ed Bennett - 08 Sep 2005 23:05 GMT
Ed <ed_millis@NO_SPAM.yahoo.com> was very recently heard to utter:
> My apologies - I neglected to mention I have Publisher 2000.
There is no VBA or Object Model in Publisher 2000, unless I have been very
gravely misled.

Signature
Ed Bennett - MVP Microsoft Publisher