トップ回答者
リソースに保存したエクセルファイルをコピーして使いたいのですが、そういう事はできますか?

質問
回答
-
My.Computer.FileSystem.WriteAllBytes("C:\Output\ひな形.xlsx", My.Resources.ひな形, False)
こんな感じでしょうか?
参考サイト: https://stackoverflow.com/questions/7929395/how-to-write-a-stream-to-file
- 編集済み kenjinoteMVP 2017年5月23日 1:50
- 回答としてマーク custardpudding 2017年5月23日 2:29
すべての返信
-
My.Computer.FileSystem.WriteAllBytes("C:\Output\ひな形.xlsx", My.Resources.ひな形, False)
こんな感じでしょうか?
参考サイト: https://stackoverflow.com/questions/7929395/how-to-write-a-stream-to-file
- 編集済み kenjinoteMVP 2017年5月23日 1:50
- 回答としてマーク custardpudding 2017年5月23日 2:29