Re: String too long...
- From: "mike" <m@xxxxx>
- Date: Mon, 29 Jan 2007 12:25:35 -0500
Hi Greg,
I brought your example as a potential approach, while it works great, the
boss wants to use the Microsoft recommended approach instead of copying the
long string to the ClipBoard.
All that I am looking to do is Replace some text (a tag) with a long string.
It is the same premise as your example.
The question is how might one implement Selection.TypeText when the text
(tag) is found with the Range object?
Has anyone tried this? It is not Form Field specific. I say that because it
works great with Selection.Find, however there is an area in this program
that uses Range.Find.
The behavior that I observe is that when the Range object finds the text
tag, lets say it is the 3rd bookmark, half way through the document. An
execution of Selection.TypeText myLongString will write out the long string
at the top of the document.
I am not certain that I understand what you are really trying to do,
but you mention find, replace, and long strings. Perhaps this will help:
.
- Follow-Ups:
- Re: String too long...
- From: Greg Maxey
- Re: String too long...
- References:
- String too long...
- From: mike
- Re: String too long...
- From: mike
- Re: String too long...
- From: Tony Jollans
- Re: String too long...
- From: mike
- Re: String too long...
- From: Tony Jollans
- Re: String too long...
- From: mike
- Re: String too long...
- From: Greg Maxey
- String too long...
- Prev by Date: Re: Like a bad penny
- Next by Date: Re: String too long...
- Previous by thread: Re: String too long...
- Next by thread: Re: String too long...
- Index(es):
Relevant Pages
|
Loading