5979896132

5979896132



Sub Wozdl()


' Makro autorstwa Dawida Wiktorskiego (Fantazmaty)


Dim vFindText As Variant Dim vReplText As vjariant Dim sFindText As String Dim sReplText As String Dim i As Long

n r? r? n 9 n nr r    r r - r r -

nn nin nn n r? \ r    r    r    t


vFindText = Array("    "- ",

vReplText = Array("    ",


r non n | n r? r? r? _ r? r? _ r? r? _ n n _ r? r? i r? non ni i r? r    r    r    • rr •    rrr - - r    r - - i

r? 9 n n i n n n r? _ r? n _ r? r? _ n r? _ r? r? | n r? 9 n n 1 n r? 9 n


nAfn nr? r? r? r? a- rv n a- r? rv a-_ r?

- - r    r    r    & r    P r    r

nr? nnnn rt^^n rt^^n ha-h rt^—r? n 1 n


,AnAnw n 1 n non n 9 •? nn nn nn


n nA_n ni i r    s r


For i = L3ound(vFindText) To UBound(vFindText) sFindText = vFindText(i) sReplText = vReplText(i)

With Selection.Find .Forward = True .Wrap = wdFindContinue .MatchWholeWord = True .MatchWildcards = False .MatchSoundsLike = False .MatchAllWordForms = False .Format = True .MatchCase = False .Text = sFindText .Replacement.Text = sReplText .Execute Replace:=wdReplaceAll End With Next i Word2 End Sub


Sub Word2()


Dim vFindText As Variant Dim vReplText As Variant Dim sFindText As String Dim sReplText As String Dim i As Long


vFindText = Array (" P32~s] {2; >", " (A13) (^32) (*) ", " ([\,\;\:\?\...]) ([A-z] vReplText = Array(" ", "\1\3", "\1 \2", "\1 -", "\1 -", "\1 -", "\1 -",


", "([ąęśńółćżź]) (-)", "([ąęśńółćżź]) (-) ", "- \2", "- \2", "\1 -", "\1 -", "- \2", "-


"(-)([A-z])", "(-)


([A-z])",


"([A-z]


(-)


", "([A-z])i


For i = L3ound(vFindText) To UBound(vFindText) sFindText = vFindText(i) sReplText = vReplText(i)

With Selection.Find .Forward = True .Wrap = wdFindContinue .MatchWholeWord = True




Wyszukiwarka

Podobne podstrony:
16vel02 Sub CallProcO Dim I, J As integer Dim K As Single : i—i—r Cali RecProc(I, J, K) End Sub
Sub silnik() iteracyjne obliczenie n! Dim n As Byte, i As Byle, sil As Long sil = 1 początkowa war
To samo zadanie, ale z wykorzystaniem instrukcji wyboru: Sub ocenyl() Dim punkty As Byte, ocena As
Zadanie 4 Sub tabela() Dim i As Integer Dim j As Integer Dim x As Integer x = 1 For i = Ac
rozkazy fW Projectl - Forml (Codę) ▼
Algorytmy i VBA Sub Min_z_dwustu() Dim x As Double x = Cells(l, 1) For i = 2 To 200 If x > Cells(
12656 Wiktor Suworow Akwarium(1) Temat: Naruszenie praw autorskich X Usuń Nadawca: Chomikuj.pl Cho
53580 Wiktor Suworow Akwarium 2 X UsuńTemat: Naruszenie praw autorskich Nadawca: Chomikuj.pl Chomi
Wiktor Suworow 12 09 13 X Usuń .u.iumi.nNaruszenie praw autorskich Nadawca: Chomikuj.pl Chomik (Ad
Zadanie 4 Sub tabela() Dim i As Integer Dim j As Integer Dim x As Integer x = 1 For i = Ac
Ciong ■a—m Public Class Forml Private Sub bcnOblicz_Click(3yVal sender As Object, Dim Wyrazpoczatkow
T.Ziębakowski: PROGRAMOWANIE MAKR ... strona 11 Sub obszar() Dim n As Integer, w As Integer, k As In

więcej podobnych podstron