changing the name of the excel file using ActXserver
5 ビュー (過去 30 日間)
古いコメントを表示
Gopalakrishnan venkatesan
2015 年 5 月 21 日
コメント済み: Gopalakrishnan venkatesan
2015 年 5 月 21 日
How can I change the name of the excel file using Actxserver?
for example science.xls to maths.xls
Is it possible??
Is there some other way to do it?
Thanks you
1 件のコメント
Guillaume
2015 年 5 月 21 日
編集済み: Guillaume
2015 年 5 月 21 日
Note that actxserver is just a way of interfacing with COM interfaces. There are many such COM interfaces. For example you could interact with the COM interface of Scripting.FileSystemObject and do the rename this way in a very roundabout way.
You probably meant to ask how to rename an excel file using Excel COM interface (invoked through actxserver('Excel.Application')). This is not possible this way, since it's not possible in excel. The best you can do is save the file with a different name.
</end pedantic mode>
採用された回答
その他の回答 (1 件)
Thomas Koelen
2015 年 5 月 21 日
You could read the file with
xlsread
then save it with the name you want with
xlswrite
1 件のコメント
参考
カテゴリ
Help Center および File Exchange で Spreadsheets についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!