[AppleScript]区切り文字が複数あるtxtファイルをExcelで開く
に答えてみた
tell application "Finder"
set theAliasFileResult to choose file "ファイルを選択"
set theFileResultText to theAliasFileResult as text
end tell
tell application "Microsoft Excel"
(open text file filename theFileResultText data type delimited other char "|" with use other and space)
end tell
「delimited_other_char.rtf」をダウンロード
「delimited_other_char.scpt.zip」をダウンロード
こんな感じではどうでしょう
Microsoft ExcelのAppleScriptのリファレンスは以下のURLにPDFがあります。
http://download.microsoft.com/download/3/A/7/3A70FB4B-0C6A-43E3-AAB7-AC9166B25632/Excel2004AppleScriptRef.pdf
日本語のドキュメントはチョット古いですが、以下のURLのPDFが参考になります。
http://download.microsoft.com/download/6/C/A/6CA6174A-FF8E-4B24-AD50-45B4AEC988D3/excel.pdf
| 固定リンク
「Office」カテゴリの記事
- LibreOffice LibreOffice ja Language Pack(2023.07.21)
- Microsoft 365 Cloud Fontsの気になった書体(2021.11.12)
- Microsoft 365 Cloud Fonts(修正版)(2021.11.11)
- [OutLook]引用符挿入(2021.10.04)
- Microsoft Office License Removal 2.1(2020.09.15)