Skip to content

Value of a range consisting of several cells #22

@Thomas008

Description

@Thomas008

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
=> ArrayIndexOutOfBoundsException

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions