Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot connect to an already running Excel instance in win32ole #5757

Thomas008 opened this issue May 30, 2019 · 1 comment


None yet
2 participants
Copy link

commented May 30, 2019

e1 ='Excel.Application)
e2 = WIN32OLE.connect('Excel.Application')
e1.Hwnd == e2.Hwnd
=> true

=> false

Using WIN32OLE.connect, one would expect that this command connects to an already running Excel instance (and perhaps throws an error, if there is no running Excel instance)
However WIN32OLE.connect seems always to create a new Excel instance.

(environment: jruby, Windows 10)

@headius headius added the windows label Jun 10, 2019


This comment has been minimized.

Copy link

commented Jun 10, 2019

You might try an earlier version of JRuby. It's possible we regressed over the years.

I believe @enebo is planning to look into these win32ole issues soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.