ところで、マルチプラットフォーム対応のプログラミング言語Pythonだが今回はWindows専用だ。というのも、今回はWindowsに備わっているCOM(ActiveX)機能を使うからだ。もともとExcelには処理を自動化するのためにVBAというマクロ機能が備わっているが、外部の ...
今回は最初の取り組みとして、PythonスクリプトからMicrosoft Excelファイルを生成するところを説明する。 Visual Studio Code (以降、VSCode)の操作方法を説明に含めると冗長になるので、最初に必要になる操作方法をまとめておく。 操作 メニュー ショートカットキー ...
With the newly introduced 'PY' function, you can write Python scripts directly in cells, and the written scripts will be executed on the Microsoft Cloud and the results will be displayed in the sheet.
一部の結果でアクセス不可の可能性があるため、非表示になっています。
アクセス不可の結果を表示する