Does anyone know possible reasons for the WIN32OLE.connect would not
connect to an open instance of Excel 2007 on Windows 7 64bit? I have
both Rubyinstaller (1.9.3p392) and Railsinstaller (1.9.3p125) versions
of Ruby installed. Both versions have the same error:
WIN32OLERuntimeError: OLE server `Excel.Application’ not running
HRESULT error code:0x800401e3
When trying WIN32OLE.new with an already opened Excel instance, Ruby
will open up a new instance.
I am looking for advice on any resources that could be looked in, a
direct answer or methods for debugging.
It has worked for me for many months/years prior. I just installed new
versions of Ruby and updated some unrelated gems and now I am having
this problem. I’m hoping someone with windows experience can give me a
clue as to how an instance of excel is running but it is not registered
with the ole server.