Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default "method 'execute' of object 'find' failed"

Hi

I have a bit of code that takes information from an excel sheet and
sends it to a template in Word. Its essentially a big list of find and
replace commands. It mostly works fine however, occiasionally i get
the error message "method 'execute' of object 'find' failed" and from
then on (it works for the first half of the document and always stops
in the same place) the find/replace commands will not work. the bit of
code it always fails on is:

With .Content.Find
.Text = "Iaootherbidders"
.Replacement.Text = Others
.Forward = True
.Execute Replace:=wdReplaceOne
End With

but there are a large number of other similar statements preceeding
this that work fine. Any ideas what could be causing this problem?

Thanks for any suggestions
Paul

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
VBA error: "object doesn't support this property or method" Dave F Excel Discussion (Misc queries) 2 April 23rd 07 06:04 PM
Run-time error "1004" Select method of range class failed Tallan Excel Discussion (Misc queries) 3 March 7th 07 05:22 PM
Method 'Range' of object '_global' failed higherlimits Excel Discussion (Misc queries) 3 June 23rd 06 06:16 PM
Method 'MailEnvelope' of object '_Worksheet' failed [email protected] Excel Discussion (Misc queries) 1 December 7th 05 11:20 PM
Method 'Paste' of object '_Worksheet' failed markline Excel Discussion (Misc queries) 7 May 28th 05 05:02 AM


All times are GMT +1. The time now is 01:09 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"