title: How do i replace a single number (from a set of lines) from a list of numbers?
body: <p>i am new to programming/macroing,etc and i would like to do this.
  Should i use word 2007 or Python or something else? i have only those two things currently. </p>
  
  <pre><code>original message is this:
  hello how are you ref=13515
  ofdifaoididpodvjakjeoijknvkln
  ikvnoivwoeij,vn,nviojv
  nkavjoiewgkjvlkaior
  </code></pre>
  
  <p>this message has a number which is to be replaced by a number in this list</p>
  
  <pre><code>876191
  11166524
  1117225
  1116953
  798993
  793519
  1116737
  1116691
  1116364
  1115635
  909014
  760195
  689981
  604787
  1116217
  1104482
  869990
  886290
  1115893
  </code></pre>
  
  <p>and the message should copypaste itself that number of times as there are numbers in that list.</p>
  
  <p>so my result should be</p>
  
  <pre><code>hello how are you ref=876191
  ofdifaoididpodvjakjeoijknvkln
  ikvnoivwoeij,vn,nviojv
  nkavjoiewgkjvlkaior
  hello how are you ref=11166524
  ofdifaoididpodvjakjeoijknvkln
  ikvnoivwoeij,vn,nviojv
  nkavjoiewgkjvlkaior
  hello how are you ref=1117225
  ofdifaoididpodvjakjeoijknvkln
  ikvnoivwoeij,vn,nviojv
  nkavjoiewgkjvlkaior
  and so on
  </code></pre>
  
  <p>pls note that the numbers in the list are 6 or 7 or 8 digit numbers</p>
  
  <p>thank you</p>