(function () { 'use strict'; // カスタマイズ対象テーブル const TABLE_CODE = 'テーブル'; // 要素スタイル変更用フィールド const CHECK_CODE = '判定欄'; // ルックアップ自動取得用 const LOOKUP_CODE = 'ルックアップ'; const LOOKUP_TABLE_CODE = ['…

Power Automate自動化フロー

Display.SelectFileDialog.SelectFile Title: $'''ファイルを選択してください。''' IsTopMost: True CheckIfFileExists: False SelectedFile=> SelectedFile ButtonPressed=> ButtonPressedExcel.LaunchExcel.LaunchAndOpenUnderExistingProcess Path: Sele…

Python自動化前処理 サンプルコード

pip install pandas selenium import pandas as pdimport osfrom selenium import webdriverfrom urllib.request import urlretrieve def download_from_extension_url(browser, url, download_path): """extension:// URLからリソースをダウンロードするた…

Python自動化 サンプルコード

pip install pdfminer.six import tkinter as tkfrom tkinter import ttk, filedialogfrom pdfminer.high_level import extract_text def extract_tables_from_pdf(pdf_path): text = extract_text(pdf_path) lines = text.split('\n') tables = current_tab…

ExcelVBA サンプルコード②

' urlmonライブラリからファイルをダウンロードする関数を宣言Private Declare PtrSafe Function URLDownloadToFile Lib "urlmon" Alias "URLDownloadToFileA" _ (ByVal pCaller As LongPtr, ByVal szURL As String, ByVal szFileName As String, _ ByVal dw…

ExcelVBA サンプルコード①

Private Declare PtrSafe Function URLDownloadToFile Lib "urlmon" Alias "URLDownloadToFileA" _ (ByVal pCaller As LongPtr, ByVal szURL As String, ByVal szFileName As String, _ ByVal dwReserved As LongPtr, ByVal lpfnCB As LongPtr) As LongPtr '…