MOVING from VBA to OPEN XML 


1.  Download and Install the following

	a.  Microsoft .Net Framework 3.5 beta 2 
	    http://www.microsoft.com/downloads/details.aspx?familyid=D2F74873-C796-4E60-91C8-F0EF809B09EE&displaylang=en
	    
	b.  Visual Studio 2008 beta 2   
	    http://www.microsoft.com/downloads/details.aspx?FamilyId=B98A61BA-99B0-40B7-AB6E-5386A2B94217&displaylang=en
	    
	c.  2007 Office System: Microsoft SDK for Open XML Formats
	    http://www.microsoft.com/downloads/details.aspx?FamilyId=AD0B72FB-4A1D-4C52-BDB5-7DD7E816D046&displaylang=en
	    
	    
2. Copy the Styles.xml and Theme1.xml to your user (user you are logged in as) Documents Folder.

3. Create a new Console Application Project in Visual Studio using the VB Flavour of IL  (Visual Basic).

4. Add a Reference to Microsoft.Office.DocumentFormat.OpenXml.   

5. Replace the content of Module1.vb with Module1.txt

6. Run the program and assuming you have Office 2007 on your pc - you should be presented with a word document.	   


Comments - good bad or indifferent - http://mdlohan.spaces.live.com
