I am using Win32::OLE to create charts from a excel datasheet in MSExcel 2010. The data are not in consecutive columns and I have a ds having the range of each data. I am trying to union all these data ranges to a single range object like :
my $range = $self->{'workbook'}->Application->Union( $range, $r );
It works fine, till "$BS$1:$BS$168". The next data is in the range "$BW$1:$BW$168". This range is not getting united with the previous range and I am left with only 18 collected data instead of 46.
What may be the reason and workaround? Is there any limit, to the number of series you can collect?