Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default OLE Automation

I have developed many applications using both Access and Excel as the base platform to automatically generate reports in Word using OLE Automation. I have noticed that repeated attempts to run the automatic report generator from either Access or Excel result in automation errors. These errors can only be fixed by re-booting the computer. Can anyone tell me what I'm doing wrong? Is there a way to prevent these automation errors? They can be a real nuisance?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 473
Default OLE Automation

Bob C. wrote:
I have noticed that repeated attempts to run the automatic report generator
from either Access or Excel result in automation errors.
These errors can only be fixed by re-booting the computer.
Can anyone tell me what I'm doing wrong?


Try monitoring using Resource Meter or similar as you run the reports.
I have experienced resource leaks when using automation to Word to create reports.
I seem to recall getting an improvement by closing Word every N reports and re-opening it
(but that could have been in an old version and no longer necessary).


Bill Manville
MVP - Microsoft Excel, Oxford, England
No email replies please - reply in newsgroup

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
automation Sherees Excel Discussion (Misc queries) 4 December 11th 09 09:59 PM
Automation Allenc Excel Worksheet Functions 5 January 13th 07 10:42 AM
Automation?? Help in automation Excel Discussion (Misc queries) 1 April 12th 06 02:10 PM
automation Darius New Users to Excel 1 September 23rd 05 07:37 AM
Automation Frank[_18_] Excel Programming 3 October 29th 03 02:18 AM


All times are GMT +1. The time now is 09:00 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"