gadgetkerop.blogg.se

Fall borders for word
Fall borders for word







fall borders for word

Why? Because the macro always begins searching from the start of the document, and therefore will only find the first paragraph with a border set.Ī different macro approach can be used to search for borders in paragraphs beyond the one in which the insertion point is located. This macro can be very handy if you don't have many paragraphs with borders. If k.Borders(wdBorderRight).LineStyle wdLineStyleNone _ If k.Borders(wdBorderBottom).LineStyle wdLineStyleNone _

fall borders for word

If k.Borders(wdBorderLeft).LineStyle wdLineStyleNone _ If k.Borders(wdBorderTop).LineStyle wdLineStyleNone _ When it finds a paragraph that has any of the border attributes set, that paragraph is selected, and the macro stops. The following macro steps through each of the paragraphs in a document. Using a macro, you can easily check to see if any border attributes are set for a paragraph. The second possible workaround is to do your searching using a macro. (Exactly how you search for styles has been covered in other issues of WordTips.) If you use a style, and the style calls for a left-side border on a paragraph, then you can easily search for paragraphs using that style. The first workaround is to simply use styles to format your paragraphs. There are a couple of ways to work around this, however. For instance, if you wanted to find all paragraphs that had the left border turned on, you can't do it. One thing you cannot search for is borders on paragraphs, however. Word has a very powerful feature that allows you to search for just about anything under the sun.









Fall borders for word