J
Jim In Minneapolis
Hi! Can anybody tell me how to make a macro keep REPEATING until it reaches
the end of the list?
Here's my macro . . . it works fine, but it only executes 'once' and then
stops. I need it to KEEP repeating. Can anyone please SHOW me how to MODIFY
it so it does what I need?
Selection.TypeText Text:=""""
Selection.EndKey Unit:=wdLine
Selection.TypeText Text:=""""
Selection.MoveRight Unit:=wdCharacter, Count:=1
What I want to do . . .
I have a column of words (just 1 word on a line) and I need to put QUOTES
around each word
Example:
apple
orange
banana
becomes
"apple"
"orange"
"banana"
So we want the macro to go down the entire list of words, and keep
repeating, and then stop when it finally gets to the end.
If anyone can SHOW me how to MODIFY my original macro, I'll sure be grateful!
Thanks again.
Jim
the end of the list?
Here's my macro . . . it works fine, but it only executes 'once' and then
stops. I need it to KEEP repeating. Can anyone please SHOW me how to MODIFY
it so it does what I need?
Selection.TypeText Text:=""""
Selection.EndKey Unit:=wdLine
Selection.TypeText Text:=""""
Selection.MoveRight Unit:=wdCharacter, Count:=1
What I want to do . . .
I have a column of words (just 1 word on a line) and I need to put QUOTES
around each word
Example:
apple
orange
banana
becomes
"apple"
"orange"
"banana"
So we want the macro to go down the entire list of words, and keep
repeating, and then stop when it finally gets to the end.
If anyone can SHOW me how to MODIFY my original macro, I'll sure be grateful!
Thanks again.
Jim