title: How to store formatted snippets of Microsoft Word documents in sql server
body: <p>I need to extract formatted text snippets of a Word document and store it inside an SQL Server table, for later processing and then reinsertion in the Word document using C#.</p>
  
  <p>I've had a look at the Word DOM and it seems that I need to use a combination of the Document.Load(), Document.Save() and Range.Copy(), Range.Paste() methods to create a file for each snippets that I then load into the DB.</p>
  
  <p>Isn't there a easier (more efficient way)?</p>
  
  <p>By the way the code snippets can be hidden text and I was thinking about storing the snippets as RTF.</p>