changing the name of the excel file using ActXserver
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Gopalakrishnan venkatesan
am 21 Mai 2015
Kommentiert: Gopalakrishnan venkatesan
am 21 Mai 2015
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 Kommentar
Guillaume
am 21 Mai 2015
Bearbeitet: Guillaume
am 21 Mai 2015
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>
Akzeptierte Antwort
Weitere Antworten (1)
Thomas Koelen
am 21 Mai 2015
You could read the file with
xlsread
then save it with the name you want with
xlswrite
1 Kommentar
Siehe auch
Kategorien
Mehr zu Spreadsheets finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!