Last active
December 24, 2022 01:47
-
-
Save eggist77/5bc052f15dc8e8d1eed8d7ab8567c202 to your computer and use it in GitHub Desktop.
hatena: 1593831099
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Function getFilePathDlgExcel() | |
Dim excel | |
Set excel = CreateObject("Excel.Application") | |
buf = excel.GetOpenFilename("Text File,*.txt,All,*.*",1,"ファイルを選択して下さい","開く",false) | |
If buf <> False Then | |
getFilePathDlgExcel = buf | |
Else | |
WScript.Quit | |
End If | |
End Function |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment