Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!
Sub CreateReport(strpath As String) Dim Objdoc As Object Dim Wks As Excel.Worksheet Set Objdoc = GetObject(strpath, "Word.Document") Set Wks = ThisWorkbook.Sheets(1) 'An example of how I use the code to manipulate the Word file Objdoc.Tables(1).Range.Rows.last.Delete Set Objdoc = Nothing Set Wks = Nothing End Sub
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
|Word 2010 - Search and replace? or VBA? Change attributes of Graphic images||4||18|
|Need help with formula in excel||10||40|
|VBA code to edit a column based on if statements||25||19|
|MS Excel duplicate input detect.||8||20|