F
Fly Girl
Hi,
Hope someone has figured out a way around this one. I've
seen lots of posts, but no solutions.
Access 2K to Office 2K.
I'm messing with embedded OLE objects with the following
code:
Dim obj As Control
Dim app As Word.Application
Dim doc As Word.Document
Set obj = Me!ctlOLE ' OLE container control on form
obj.Action = acOLEActivate 'opens the file in Word
Set app = GetObject(, "Word.Application")
Set doc = app.ActiveWindow.Document 'errors on this line
doc.SaveAs strFilePath & ".doc"
Set app = Nothing
Set doc = Nothing
Error message: "There is insufficient Memory. Save the
document now"
Sometimes this works perfectly, once. Then all further
calls fail.
This just started after updating my system on office and
windows service packs--GRRRR!
Any suggestions?
Hope someone has figured out a way around this one. I've
seen lots of posts, but no solutions.
Access 2K to Office 2K.
I'm messing with embedded OLE objects with the following
code:
Dim obj As Control
Dim app As Word.Application
Dim doc As Word.Document
Set obj = Me!ctlOLE ' OLE container control on form
obj.Action = acOLEActivate 'opens the file in Word
Set app = GetObject(, "Word.Application")
Set doc = app.ActiveWindow.Document 'errors on this line
doc.SaveAs strFilePath & ".doc"
Set app = Nothing
Set doc = Nothing
Error message: "There is insufficient Memory. Save the
document now"
Sometimes this works perfectly, once. Then all further
calls fail.
This just started after updating my system on office and
windows service packs--GRRRR!
Any suggestions?