Results 1 to 7 of 7
  1. #1
    Star Lounger
    Join Date
    Jan 2001
    Posts
    68
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Finding Horizontal Rules Copied from Web Pages

    I frequently copy/paste information from web pages into Word documents. A common construct on web pages is a "horizontal rule". It comes into Word 97 much like a graphic but not exactly. I haven't found a way to search for these rules either (go to Graphic doesn't work). Any ideas?

  2. #2
    Platinum Lounger
    Join Date
    Dec 2000
    Location
    Queanbeyan, New South Wales, Australia
    Posts
    3,730
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Finding Horizontal Rules Copied from Web Pages

    Hi,

    Not a direct answer to your question, but it might help pasting into Word.

    If you paste using "Paste Special", then select "Unformatted text", you don't have to worry about some of the special bits which get pasted in
    Subway Belconnen- home of the Signboard to make you smile. Get (almost) daily updates- follow SubwayBelconnen on Twitter.

  3. #3
    Star Lounger
    Join Date
    Jan 2001
    Posts
    68
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Finding Horizontal Rules Copied from Web Pages

    Actually, I knew that. Sometimes I want to preserve the HTML formatting but I've found that horizontal rules don't translate properly (end up obscuring text). Seems like there ought to be a way to search for them. You can create them if you're editing a HTML file.

  4. #4
    BAM
    Guest

    Re: Finding Horizontal Rules Copied from Web Pages

    Can you give us a link to a web page that when copied/pasted into Word give us the result you are seeing?

    An example would be nice since I can think of several things that it could be.
    ~~~~~~~~~~~~~~
    Cheers!

  5. #5
    Star Lounger
    Join Date
    Jan 2001
    Posts
    68
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Finding Horizontal Rules Copied from Web Pages

    An example is on AltaVista's text search page:
    http://www.altavista.com/cgi-bin/query?pg=q&text=yes

    Another example is:
    http://www.jerrypournelle.com/view/currentview.html

  6. #6
    Platinum Lounger
    Join Date
    Dec 2000
    Location
    Queanbeyan, New South Wales, Australia
    Posts
    3,730
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Finding Horizontal Rules Copied from Web Pages

    FWIW, I can get a line like that into Word 2000 (but not Word 97) by "Format, Borders and SHading, Horizontal line".

    The command which results from the recorder is:
    Selection.InlineShapes.AddHorizontalLine FileName:= ...


    You could try this to find them:


    Dim ils As InlineShape

    For Each ils In ActiveDocument.InlineShapes
    If ils.Type = wdInlineShapeHorizontalLine Then
    ils.Select
    End If
    Next
    Subway Belconnen- home of the Signboard to make you smile. Get (almost) daily updates- follow SubwayBelconnen on Twitter.

  7. #7
    Star Lounger
    Join Date
    Jan 2001
    Posts
    68
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Finding Horizontal Rules Copied from Web Pages

    Thanks, I'll have to try that.

Posting Permissions

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