ray88’s diary

お仕事で困ったとき用の自分用の覚書

2021-04-03から1日間の記事一覧

指定されたフォルダ内のファイルパスを書き出す

Option Explicit Sub TestGetArray() Dim arrayFiles() As String Dim strFolderPath As String Dim i As Integer Dim intIndexNum As Integer Dim intExcelRow As Integer strFolderPath = Sheets("Sheet1").Range("C2") arrayFiles = getFileArray(strFold…

指定したフォルダ内のファイルパスを取得する

呼び出し元プロシージャ Sub TestGetArray() Dim arrayFiles() As String Dim strFolderPath As String Dim i As Integer Dim intExcelRow As Integer strFolderPath = Sheets("Sheet1").Range("C2") arrayFiles = getFileArray(strFolderPath) intExcelRow …