• Finding Horizontal Rules Copied from Web Pages

    Home » Forums » AskWoody support » Productivity software by function » MS Word and word processing help » Finding Horizontal Rules Copied from Web Pages

    Author
    Topic
    #351931

    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?

    Viewing 2 reply threads
    Author
    Replies
    • #510624

      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

      • #514305

        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.

    • #514320

      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

    • #514324

      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

    Viewing 2 reply threads
    Reply To: Finding Horizontal Rules Copied from Web Pages

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: