Results 1 to 3 of 3

Thread: Object does not support..

Threaded View

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Feb 2003
    Location
    Argentina
    Posts
    1,950

    Resolved Object does not support..

    The code below is in a module that creates a Word doc in Access. The first line throws an error "Object does not support this action" on my machine and on a machine that had an Office 2000 re-install. I've checked the references on machines that it works on and machines it doesn't, and they're the same. Any idea how to get it to work on all? Thanks.
    VB Code:
    1. WordObj.Selection.Find.Replacement.ClearFormatting  'error here
    2.     With WordObj.Selection.Find
    3.                    .Text = " "
    4.                    .Replacement.Text = " "
    5.                    .Forward = True
    6.                    .Wrap = wdFindContinue
    7.                    .Format = False
    8.                    .MatchCase = False
    9.                    .MatchWholeWord = False
    10.                    .MatchWildcards = False
    11.                    .MatchSoundsLike = False
    12.                    .MatchAllWordForms = False
    13.     End With
    14.     WordObj.Selection.Find.Execute Replace:=wdReplaceAll
    Last edited by salvelinus; Oct 21st, 2004 at 10:20 AM.
    Tengo mas preguntas que contestas

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width