|
Luna Moon <lunamoonmoon@gmail.com> wrote in message <e5249fa6-de45-4c7c-b1c3-3d6e45b974fe@x22g2000yqx.googlegroups.com>...
> How to you "auto-click" the update dialog in Excel sheets?
> When I access Excel sheet from Matlab, always a little window pops up,
> "update the links", how do I automatically make it "yes"?
Assuming you use COM functionality to open/update/close your XLS (instead of using the built-in xlswrite function), open your XLS file with the optional second parameter (=UpdateLinks) as false. FYI, the full list of open() parameters is:
Workbooks.Open(FileName, UpdateLinks, ReadOnly, Format, Password, WriteResPassword, IgnoreReadOnlyRecommended, Origin, Delimiter, Editable, Notify, Converter, AddToMru, Local, CorruptLoad)
Yair Altman
http://UndocumentedMatlab.com
|