A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data
Hi Scott,
If you'd like to copy an entire table column, you should be able to use a structured reference, like so:
selectedSheet.getRange("Q2:Q7").copyFrom(selectedSheet.getRange("TableName[ColumnName]"), ExcelScript.RangeCopyType.values, false, false);
Alternatively, you could get the range of a table column like so:
workbook.getTable("TableName").getColumnByName("ColumnName").getRangeBetweenHeaderAndTotal()
You'll need to make sure that the dimensions of the destination range match that of the source range. If you run into issues with that, you might need to construct the destination range address using the row count of the source range.
Let me know if that helps or if you have other questions!