So I have this function I wrote a year ago (on an old computer) that takes data from my excel file and creates pretty single-page summaries of the data in Publisher. I got it working well at the time, but now that I am revisiting it, I'm getting a "Windows is low on memory" runtime error in the very first part of the code. The error is occurring on the second line below:
Dim appPub As New Publisher.Application
appPub.Open Filename:="C:\Users\halle1\Documents\Temp.pub"
appPub.ActiveWindow.Visible = False
Dim DocPub As Document
Set DocPub = appPub.ActiveDocument
I suspect that the issue is a setting that is different on this new machine, but I have no idea what that might be. The above code is pretty much copy/pasted from the VBA documentation...
Any ideas or help would be greatly appreciated!