Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
xlsを別のフォルダに保存する方法は?
保存パスに「/」を使用すると、「:」に置き換えられます。「\」を使用しようとすると、ファイル名に「\」が含まれるファイルが保存されます。
Application.PathSeparator プロパティを使用すると、追加のボーナスとして、プラットフォームに依存しなくなります。
myPath = "myDirectory" & Application.PathSeparator & "mySubDirectory" & Application.PathSeparator & "myFileName"