반응형
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 |
Tags
- c#
- Apache
- string
- PostgreSQL
- Mac
- PANDAS
- django
- gas
- math
- PySpark
- google apps script
- Excel
- dataframe
- Github
- numpy
- array
- Tkinter
- Python
- Java
- list
- matplotlib
- Redshift
- 파이썬
- Kotlin
- hive
- Google Spreadsheet
- GIT
- SQL
- Google Excel
Archives
- Today
- Total
목록getSelection (1)
달나라 노트

엑셀에서 Ctrl + Shift + 방향키를 누르면 현재 셀에서 다음 데이터가 있는 모든 셀이 선택됩니다. 예를들어 위와같이 B2를 클릭한 후 Ctrl + Shift + 우측 방향키를 누르면? 이처럼 다음 데이터가 있는 모든 셀이 선택되죠. 이것을 코드로 구현해봅시다. function myFunction() { var spreadsheet = SpreadsheetApp.getActiveSpreadsheet(); spreadsheet.setActiveSheet(spreadsheet.getSheetByName('Sheet1')); spreadsheet.getRange('B2').activate(); spreadsheet.getSelection().getNextDataRange(SpreadsheetApp.Di..
Google Apps Script
2021. 8. 6. 13:16