Викторина, связанная с руководством · Средний Уровень
Как писать сценарии и макросы для электронных таблиц с помощью AI Quiz
Проверьте, когда использовать сценарии вместо формул, как писать безопасные запросы VBA и Apps Script, а также как тестировать электронную почту и макросы очистки без потери данных.
Вопрос 1 из 8
Какая задача требует сценария, а не формулы?
Предварительный просмотр каждого вопроса8 вопросы
Ответы и пояснения появляются по мере прохождения теста.
- Какая задача требует сценария, а не формулы?
- Totaling a column of sales
- Looking up a price from a table
- Emailing every person whose status is Approved
- Formatting a number as currency
- Какой язык Google Sheets использует для сценариев?
- VBA
- Apps Script, which is JavaScript-based
- Python
- Office Scripts only
- Почему в руководстве проводится стресс-тестирование макросов Excel на копии файла?
- Macro changes generally cannot be undone with Ctrl+Z
- Copies run macros faster
- Excel refuses to run macros on original files
- The AI cannot read the original file
- Какой самый безопасный первый тест для сценария, отправляющего электронные письма?
- Send to the whole list at once to save time
- Turn off the authorization prompt
- Run it on a sheet with no data
- Send only to yourself first, or list recipients before sending
- Почему макрос должен удалять строки снизу вверх?
- VBA syntax requires it
- Deleting from the top shifts row numbers and causes rows to be skipped
- The bottom rows are always blank
- It avoids hitting email quotas
- What is the most efficient way to process many cells in Apps Script?
- Call getValue and setValue once for each cell
- Write a separate script for each row
- Read with getValues, process in memory, then write back with setValues
- Refresh the sheet after every change
- How can a script avoid redoing work if it stops partway and is run again?
- Mark each processed row, for example by writing "Sent" in a status column
- Delete the script after each run
- Ask Google to raise the quota
- Hide rows once they are processed
- According to the guide, where does the real risk of macros come from?
- The .xlsm file extension itself
- Adding comments to the code
- Using time-driven triggers
- Running code you do not understand, especially in files from strangers