Microsoft Word Insert SQL Code
go to Insert tab, Text section, click object button (it's on the right)
choose OpenDocument Text which will open a new embedded word document
copy and paste your code from Visual Studio / Eclipse inside this embedded word page
save and close
MzanziLegend