VBA automation of Excel leaves a process in memory after Quit

后端 未结 5 2090
一向
一向 2020-12-17 23:59

I have seen a lot of suggestions for this problem, and I have tried them all, but none seem to work. The VBA code is in a non-Microsoft product (SAP Business Objects, which

5条回答
  •  北海茫月
    2020-12-18 00:23

    This question has already been answered by Acantud in response to a subsequent post: https://stackoverflow.com/questions/25147242 Fully qualify your references to objects within the Excel workbook you open to avoid creating orphaned processes in the task manager. In this case, the solution is to prefix DelimitedList with m_oBook, such as

    ThisDocument.Variables("Agent(s)").Value = m_oBook.DelimitedList("Agents")
    

提交回复
热议问题