Hi Karl,
could you give us more details, please, on when you're seeing this error
message? Like, the second time you run code that automates Excel, without
shutting down your program (whatever environment that may be?)?
If it's something like that, then you're not releasing all the object
pointers to Excel correctly.
Otherwise, search the Knowledge Base at micrsoft.com on the error message.
What's an (or the?) RPC server?
More importantly, why would it not be available when code attempts to send
data to Excel?
Is there a check to make sure the server is running?
Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org
This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail