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.
asp .net(VB)ページ内から.xlsmファイルを起動する必要があります。EPPlusを含むたくさんのことを試しましたが、何も機能しないようです。何かご意見は?
わかった!それで、キーボードで頭を叩いて2日後、これがうまくいきました。次のようにOnClientClickイベントにコードを追加して、おかしな.xlsmファイルを起動しました。
OnClientClick = "javascript:MyObject = new ActiveXObject('WScript.Shell'); MyObject.Run('file:/// C:/MacroEnabledFile.xlsm')"