Is it possible to start Excel as a COM server anonymously?

조회 수: 1 (최근 30일)
I want to be able to start Excel as a COM server remotely or anonymously, without the user actually logging into the machine that Excel is installed on. This could be through using XLSREAD, XLSWRITE, or connecting to Excel through ACTXSERVER.

채택된 답변

MathWorks Support Team
MathWorks Support Team 2009년 6월 27일
In order to be able to start Excel as a COM server anonymously, you must ensure that the user that is executing the application has appropriate permissions. Follow the steps given below to check and, if necessary, set the permissions
1. Click Start -> Settings -> Control Panel -> Administrative Tools -> Component Services
2. Open the 'Component Services' tree, 'Computer', and double-click on 'My Computer'.
3. Right-click My Computer and choose Properties. Navigate to the COM Security tab
4. For 'Access Permissions' and 'Launch and Activation Permissions', ensure that the user that is trying to start the compiled application has 'Local' permissions. For each of these subsections, ensure that you have clicked both 'Edit Limits' and 'Edit Default'.
5. Next, from the main panel, double-click on DCOM Config, right-click on Microsoft Excel Application and choose Properties.
6. Navigate to the Security tab, and ensure that for 'Access Permissions' and 'Launch and Activation Permissions', the 'Use Default' radio button is selected.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Use COM Objects in MATLAB에 대해 자세히 알아보기

제품

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by