반응형
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- Google Spreadsheet
- django
- SQL
- Redshift
- gas
- list
- numpy
- google apps script
- GIT
- PostgreSQL
- Mac
- 파이썬
- Apache
- Github
- PANDAS
- matplotlib
- Excel
- dataframe
- Java
- Kotlin
- math
- string
- hive
- Google Excel
- Python
- c#
- PySpark
- array
- Tkinter
Archives
- Today
- Total
목록getDataRegion (1)
달나라 노트

엑셀에는 Ctrl + a 단축키를 누르면 아래 이미지처럼 현재 셀 기준으로 주위로 Data가 있는 지역(Region)을 선택해줍니다. 이것을 코드로 구현해봅시다. function myFunction() { var spreadsheet = SpreadsheetApp.getActiveSpreadsheet(); spreadsheet.setActiveSheet(spreadsheet.getSheetByName('Sheet2')); spreadsheet.getRange('C4').activate(); spreadsheet.getActiveRange().getDataRegion().activate(); } - var spreadsheet = SpreadsheetApp.getActiveSpreadsheet(); 현재 ..
Google Apps Script
2021. 8. 5. 00:55