Question : How to loop through multiple word documents and copy particular sections into master document

Hi,

Can you offer VBA script to loop through a number of folders and subfolders and then for each word documents contained in the folder copy a section from it and paste it into another separite master document.

The manual process of opening the documents and copying the sections I need is to slow and I gather this can be done in VBA script with much less fuss.

In advance thanks for the help :)

Answer : How to loop through multiple word documents and copy particular sections into master document

Something like :

1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script language="javascript">
var addresses = ["address 1", "address2", "address 3"];
</script>
</head>
<body>
<select onchange="if(this.selectedIndex>0) document.getElementById('thediv').innerHTML = addresses[this.selectedIndex-1];else document.getElementById('thediv').innerHTML =''">
	<option value="">Choose one...</option>
	<option value="">Marc</option>
	<option value="">Ben</option>
	<option value="">Bob</option>
</select>
<div id="thediv"></div>
</body>
</html>
Random Solutions  
 
programming4us programming4us