Bug Report Range.Find.Execute sometimes does not work.

D

David Thielen

Hi;

I am trying somehow to get these bugs reported to the Word group (having no
luck so far):

I have a document, you can see the Find bug (Range.Find.Execute will not
find text that exists in the range passed to it and will return text outside
the range passed to it.

This occurs within cells in a table and I can provide the document and the
specific searches that fail.

thanks - dave
 
P

Peter Huang

Hi

I will research the issue and update you with new information ASAP.


Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
 
D

David Thielen

Hi;

I am happy to send you a word document and give you the search criteria on
it that will fail. FWIW - this is the one significant bug I have found in the
Word add-in API. And it occurs only for text inside a table.

thanks - dave
 
P

Peter Huang

Hi

I would be better if you could send me the reproduce document together with
the steps.
Based on my test, I can not reproduce the problem.
Sub Test()
Dim rg As Range
Set rg = Selection.Range
Dim b As Boolean
b = rg.Find.Execute("Hello")
Debug.Print b
End Sub

I did not select the text include the "Hello" string, I get false.

Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
 
D

David Thielen

Step 1 is you have to use a specific document I have. How do I get you the
document?

Step 2 is to search for text in a specific paragraph in that document
setting the range to that entire paragraph.

thanks - dave
 
P

Peter Huang

Hi

You may reach me by removing the "Online" from my email address.
thanks

Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
 
C

Cindy M -WordMVP-

Hi Peter,
You may reach me by removing the "Online" from my email address.
I tried to help Dave with this, a while back, and wasn't able to
reproduce the problem. So if you do get to the bottom of this, I'd
appreciate it if you could post the cause and resolution here :)

Cindy Meister
 
D

David Thielen

Hello;

I remember - you were terrific in trying to help. And this has driven me up
the wall because it is the only bug I have found in Word itself (everything
else being a problem with the PIAs, the shim, and everything else on
connecting to Word).

thanks again - dave
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top