Results 1 to 3 of 3
  1. #1
    Star Lounger
    Join Date
    Feb 2003
    Location
    near Blairgowrie, Perthshire, Scotland
    Posts
    72
    Thanks
    0
    Thanked 0 Times in 0 Posts

    runtime error 5625 (VBA with Word 2002)

    Can anyone tell me what runtime error 5625 is? I am searching a selection for a manual line break and replacing it with a ^p. Any assistance gratefully received!

    Rex Last
    PS Here is the code. Crashes on the last line...

    With Selection.Find
    .Text = "^

  2. #2
    Silver Lounger
    Join Date
    Jun 2001
    Location
    Morden, Surrey, United Kingdom
    Posts
    1,838
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Re: runtime error 5625 (VBA with Word 2002)

    There's nothing wrong with that last line that I can see, but if I perform the find/replace manually Word stops and says that ^
    Beryl M


  3. #3
    Star Lounger
    Join Date
    Feb 2003
    Location
    near Blairgowrie, Perthshire, Scotland
    Posts
    72
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: runtime error 5625 (VBA with Word 2002)

    I got it by misreading the character after the carat as a vertical bar! Red faces all round. Serves me right for using Arial instead of Times Roman. Thanks...

Posting Permissions

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