PC Review


Reply
Thread Tools Rate Thread

Access 2007 crashes at Word .Find

 
 
Ronn
Guest
Posts: n/a
 
      17th Aug 2008
I'm controlling a Word 2007 mail merge from Access 2007 via VBA code. The
merge works fine. As part of the same procedure, I want to find specific
text in the new merged Word document. Every time I try a "Find" command,
Access crashes -- no preliminary error message, just a crash to the "search
online for solution" dialog.

In my Access procedure, I've defined objWord as Word.Application, I've used
objWord to successflly execute the mail merge and then I want to find some
specific text in the resulting merged document using code like this:

objWord.Selection.Find.Execute "textToFind"

I've tried various Find options such as "Selection.Find.ClearFormatting" or
"With.Selection.Find" but every time the code gets to a Find operation
Access crashes.

Any thoughts on this? Thanks.

.... Ron
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
find & replace crashes with word 2007 and C# Gidi Microsoft C# .NET 0 13th Apr 2010 01:43 PM
importing table contents from Word 2007 into Access 2007 andgenerating queries, reports using Access 2007 g_1 Microsoft Word Document Management 3 12th Nov 2009 06:58 AM
Word crashes during Find BPB Microsoft Word Document Management 0 20th May 2008 01:04 AM
word 2007 crashes when opening word document in outlook keyboard Microsoft Word Document Management 0 22nd Mar 2008 03:29 PM
Outlook 2007 Crashes when trying to send a Word 2007 doc in Word =?Utf-8?B?QnJpYW4gWW91bmcsIFNyLiBTZXJ2ZXIgQW5hbHlz Microsoft Outlook Discussion 5 7th Jun 2006 07:45 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:49 PM.