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

Value of a range consisting of several cells in Win32ole #5755

Open
Thomas008 opened this issue May 30, 2019 · 0 comments

Comments

Projects
None yet
2 participants
@Thomas008
Copy link

commented May 30, 2019

The Value method of a range containing multiple cells causes an ArrayIndexOutOfBoundsException.

For example:

excel = WIN32OLE.new("Excel.Application")
workbook = excel.Workbooks.Open(File.expand_path("workbook.xls")
worksheet = workbook.Worksheets.Item(1)
range = worksheet.Range(worksheet.Cells(1,1), worksheet.Cells(3,4))
range.Value

Expected:
An array of array of values, no exception

Actual:
ArrayIndexOutOfBoundsException

environment:
jruby 9.2.6.0, Windows 10

@headius headius added the windows label Jun 10, 2019

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.