hi,

i have a macro that opens a word file(.docm) paste data in it then save as another filename using the below code
but it saves it also as a ".docm"
how do i save it as a ".docx"?

 objDoc.SaveAs Filename:=xlRng.Offset(0, -1).Value
  objDoc.Saved = True