F
filo666
Hello, I would like to know how to:
1) I'm creating a kind of interactive program, what I need to do is to
select each word of the document, then for each, select all the characters of
the word and then do something with each one of the characters and the go to
the next word, until now I have:
Sub dfd()
Dim oword, ochr As Range
Set oword = ActiveDocument.Words
For n = 1 To oword.Count
oword.Item(n).Select
Set ochr = oword.Item(n).Characters
For Each ochr In oword
'bla bla bla bla ba
Next
Next
End Sub
2) I would like to create a userform, when the userform is deactivated you
are able to correct whatever you want for your document without closing the
userform(like the find and replace form, you can change stuff on your
document without closing the form)
3) a usrform with 2 bottons, before and next, when the before button is
pressed it goes to the last word seleted (or changed) and with the next
button it goes to the next word that fill a spesific criteria.
Thanks for your help
1) I'm creating a kind of interactive program, what I need to do is to
select each word of the document, then for each, select all the characters of
the word and then do something with each one of the characters and the go to
the next word, until now I have:
Sub dfd()
Dim oword, ochr As Range
Set oword = ActiveDocument.Words
For n = 1 To oword.Count
oword.Item(n).Select
Set ochr = oword.Item(n).Characters
For Each ochr In oword
'bla bla bla bla ba
Next
Next
End Sub
2) I would like to create a userform, when the userform is deactivated you
are able to correct whatever you want for your document without closing the
userform(like the find and replace form, you can change stuff on your
document without closing the form)
3) a usrform with 2 bottons, before and next, when the before button is
pressed it goes to the last word seleted (or changed) and with the next
button it goes to the next word that fill a spesific criteria.
Thanks for your help