|
-
December 15th, 2005, 08:16 AM
#1
find in a table of word document
Hi everyone!
I run Word document from my application and I want to find a word in table of that document! But I do it wrong. Can some one help me?
I do like wrote below:
Word.Table TBL1
object missingValue = Type.Missing;
object findStr;
findStr = "test";
if (TBL1.Range.Find.Execute(ref findStr, ref missingValue, ref missingValue,
ref missingValue, ref missingValue, ref missingValue,
ref missingValue, ref missingValue, ref missingValue,
ref missingValue, ref missingValue, ref missingValue,
ref missingValue, ref missingValue, ref missingValue))
{
}
else
{
// always else !!!!
}
-
December 16th, 2005, 11:08 AM
#2
Re: find in a table of word document
Sorry I can't send letter early about the example is right.
But a function which takes text from cell of tables takes string with special letters like this ( hello\r\a) and so why "find" finction haven't been able to find that string in another document.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|