Quantcast
Channel: Word VBA Beginners
Viewing all articles
Browse latest Browse all 106

How to loop a macro in a word document.

$
0
0
Hi

Im new to visual basic so any help would be appreciated.

I need to alter the format of some text in a word document, it goes something like this:


Original Text

text (123)=5.99 9.99

I need it to look like

text (123)=5.99,0,9.99,0

The values shown are not the same on every line


Two questions.

1. How do I insert the ...,0,...,0

2. How do I loop the macro so it repeats on every line to the end of the document? (The documnet is about 12000 lines long).



Thanks for any help...

How to loop a macro in a word document.

Viewing all articles
Browse latest Browse all 106

Trending Articles