Tổng quan về lớp học lập trình cơ bản về Apps Script
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Nếu mới làm quen với Apps Script, bạn có thể tìm hiểu những kiến thức cơ bản thông qua danh sách phát lớp học lập trình Kiến thức cơ bản về Apps Script với Google Trang tính.
Danh sách phát này bao gồm một bộ codelabs theo trình tự. Mỗi lớp học lập trình là một hướng dẫn có chỉ dẫn từng bước về cách tạo một ứng dụng tập lệnh mẫu. Nếu cần tạm ngưng, bạn có thể tiếp tục làm lớp học lập trình này sau, ngay tại bước bạn đã tạm ngưng.
Các lớp học lập trình trong danh sách phát này tập trung vào việc sử dụng Apps Script với Google Trang tính.
Dịch vụ Bảng tính là một trong những dịch vụ tích hợp lớn nhất và phổ biến nhất trong Apps Script. Danh sách phát này sẽ giúp bạn làm quen với nội dung và cách sử dụng dịch vụ này.
Danh sách phát này đề cập đến nhiều khái niệm về Apps Script, bao gồm:
Sử dụng trình chỉnh sửa Apps Script trong trình duyệt.
Tạo và chỉnh sửa macro trong Google Trang tính.
Tạo hàm tuỳ chỉnh trong Google Trang tính.
Nhập dữ liệu vào Google Trang tính.
Thêm, chỉnh sửa và định dạng dữ liệu trên Google Trang tính bằng Apps Script.
Tạo biểu đồ và xuất biểu đồ sang Google Trang trình bày.
Đang tìm nạp dữ liệu từ các dịch vụ API của bên thứ ba.
Tạo trình đơn và cửa sổ hộp thoại trong Google Trang tính.
Trước khi bắt đầu
Bạn không cần có kiến thức trước về Apps Script để hoàn thành danh sách phát này. Tuy nhiên, danh sách phát này giả định rằng bạn đã quen thuộc với Google Trang tính và ký hiệu A1.
Bạn cũng nên có kiến thức cơ bản về JavaScript (ngôn ngữ mà Apps Script dựa trên). Nếu mới làm quen với JavaScript, bạn có thể tham gia một số khoá học JavaScript của Codecademy.
(Lưu ý: Google không phát triển các khoá học này.)
Mọi phần của các lớp học lập trình này đều được thực hiện trong trình duyệt của bạn, vì vậy, bạn không cần bất kỳ phần mềm đặc biệt nào để hoàn thành các lớp học lập trình này.
Bắt đầu
Bạn có thể bắt đầu danh sách phát bằng các đường liên kết bên dưới. Mỗi lớp học lập trình đều cung cấp hướng dẫn từng bước để hướng dẫn bạn trong suốt bài học. Sau khi hoàn thành một codelab, bạn có thể chuyển sang codelab tiếp theo trong danh sách. Bắt đầu với codelab đầu tiên: "Kiến thức cơ bản về Apps Script với Google Trang tính #1: Macro và hàm tuỳ chỉnh".
Sau đây là danh sách phát Kiến thức cơ bản về Apps Script:
[null,null,["Cập nhật lần gần đây nhất: 2025-08-31 UTC."],[[["\u003cp\u003eThis script automatically creates email drafts in Gmail to reply to Google Forms submissions, particularly useful for course feedback or similar scenarios.\u003c/p\u003e\n"],["\u003cp\u003eIt uses Apps Script services like the Script service to set up triggers, Spreadsheet service to handle data, and Gmail service to create drafts.\u003c/p\u003e\n"],["\u003cp\u003eBy making a copy of the provided spreadsheet and enabling auto draft replies through a custom menu, you can automate feedback responses.\u003c/p\u003e\n"],["\u003cp\u003eUpon form submission, the script generates a draft email with the feedback content addressed to the submitter, allowing for review before sending.\u003c/p\u003e\n"]]],["The \"Fundamentals of Apps Script with Google Sheets\" playlist offers guided tutorials (codelabs) for learning Apps Script basics. These codelabs teach you to use the in-browser editor, create macros and custom functions, manage spreadsheet data, format information, create charts, fetch API data, and add menus/dialogs. Each codelab provides step-by-step instructions, building upon previous lessons and are to be completed in order. A basic familiarity with Google Sheets and A1 notation is assumed.\n"],null,["# Apps Script fundamentals codelabs overview\n\nIf you're new to Apps Script, you can learn the basics using our\n**Fundamentals of Apps Script with Google Sheets** codelab playlist.\n\nThis playlist consists of a set of sequential *codelabs*. Each codelab is a\nguided tutorial that gives you step-by-step instructions on how to build\nan example script application. If you need to\ntake a break, you can pick up the codelab later, right where you left off.\n\nThe codelabs in this playlist focus on using Apps Script with Google Sheets.\nThe [Spreadsheet service](/apps-script/reference/spreadsheet) is\none of the largest and most popular built-in services in Apps Script, and\nthis playlist familiarizes you with its content and use.\n\nThe playlist covers many Apps Script concepts, including the following:\n\n- Using the Apps Script in-browser editor.\n- Creating and editing Google Sheets macros.\n- Creating Google Sheets custom functions.\n- Importing data into Google Sheets.\n- Adding, editing, and formatting Google Sheets data with Apps Script.\n- Creating charts and exporting them to Google Slides.\n- Fetching data from third-party API services.\n- Creating menus and dialog windows in Google Sheets.\n\nBefore you start\n----------------\n\nYou don't need any previous knowledge about Apps Script to complete this\nplaylist. However, the playlist does assume you have some basic\nfamiliarity with Google Sheets and\n[A1 notation](/sheets/api/guides/concepts#a1_notation).\n\nIt's also helpful to have a basic understanding of JavaScript, upon which\nApps Script is based. If you're new to JavaScript, Codecademy offers several [JavaScript courses](https://www.codecademy.com/catalog/language/javascript).\n(Note: Google did not develop these courses.)\n\nEvery part of these codelabs is conducted inside your browser, so you don't\nneed any special software to finish them.\n\nGetting started\n---------------\n\nYou can start the playlist with the links below. Each codelab provides\nstep-by-step instructions to guide you through the lesson. Once you finish a\ncodelab, you can move on to the next one in the list. Start with the first\ncodelab,\n\"*Fundamentals of Apps Script with Google Sheets #1: Macros \\& Custom\nFunctions*\".\n| **Note:** Make sure to complete the codelabs in order. As you progress through the playlist, you'll use what you learn in each codelab to complete the ones that follow.\n\nHere's the **Apps Script Fundamentals** playlist:\n\n1. [Fundamentals of Apps Script with Google Sheets #1: Macros \\& Custom Functions](https://codelabs.developers.google.com/codelabs/apps-script-fundamentals-1)\n2. [Fundamentals of Apps Script with Google Sheets #2: Spreadsheets, Sheets, and Ranges](https://codelabs.developers.google.com/codelabs/apps-script-fundamentals-2)\n3. [Fundamentals of Apps Script with Google Sheets #3: Working with Data](https://codelabs.developers.google.com/codelabs/apps-script-fundamentals-3)\n4. [Fundamentals of Apps Script with Google Sheets #4: Data Formatting](https://codelabs.developers.google.com/codelabs/apps-script-fundamentals-4)\n5. [Fundamentals of Apps Script with Google Sheets #5: Chart and Present Data in Slides](https://codelabs.developers.google.com/codelabs/apps-script-fundamentals-5)"]]