To give you a bit of context, I am trying to retrieve the `width` and `height` properties of each cell in a selected range. For this I am using the Office Javascript API and so far the only way I can think of is by looping over every cell in the selected range and retrieving said properties for each.

Assuming `selectedRange` is the user's selection and the appropriate properties have been loaded beforehand, this is what I would have:

```
    for (let r = 0; r < selectedRange.rowCount; r++) {
      console.log(selectedRange.getRow(r).height);
      for (let c = 0; c < selectedRange.columnCount; c++) {
        console.log(selectedRange.getColumn(c).width);
      }
    }

```

The problem however, is that the `width` and `height` properties for each column and row are not loaded and correct me if I'm wrong, but they would have to be loaded inside the loop for each column and row. That would in turn mean calling `context.sync()` quite a few times inside the loop which is a very bad idea according to the official documentation.

So, is there another way of doing this, which wouldn't involve calling `context.sync()` so often?

I am still quite new to Office Js, so any help is greatly appreciated. Thank you all!