0

I've tried searching but I cannot seem to find a way to set a range of values using an array.

Do I have to use a double loop to do this? Is there no way to use a multidimensional array for it like in Google App Scripts? In particular, I am looking for similar functionality to https://developers.google.com/apps-script/class_range#setValues in EPPlus.

Jack
  • 5,550
  • 9
  • 44
  • 71
  • double loop is the best way on this. If you have to use this time and time, let's try to create a function to do it easier. – Han Dec 17 '12 at 05:02

2 Answers2

2

Possibly of interest. I found ExcelRangeBase.LoadFromArrays and LoadFromCollection but the implementation uses a double loop...

David Hollinshead
  • 1,670
  • 17
  • 18
1

A double loop is the only way to go.

Jack
  • 5,550
  • 9
  • 44
  • 71