Excel VBA to Open Multiple Word files in a loop
问题 I apologize in advance for the newbie question -- most of my VBA experience is in Excel, or Word to Excel. In this case, I am going from Excel to Word. I am trying to capture some data off of some Word forms and store it in an Excel file. Right now, my code works for the first document in the folder, but after that, it hoses up with an automation error "the server threw an exception" (goo!) Here is my code: Dim objWordApp As Object strCurFileName = Dir(strFilePath) Set objWordApp =