Run-time error '7': Out of memory
问题 I'm trying to edit embedded charts in Word documents. My source code is below. It has worked a long time but not for the last two days. I get this error: Run-time error '7': Out of memory I have searched a lot , but I don't understand the problem. When I shutdown computer and after open it, then it works correctly, but after I get error again. It gives error in this part: 'create range with Cell Set oChart = oInShapes.Chart oChart.ChartData.Activate ' ***Note: It gives error here*** 'Set