Cannot perform the action because Microsoft Excel is in Edition Mode(Excelが編集モードになっているため、アクションが実行できま

当尝试执行宏但未明确启用内容时,且Excel文件来自不受信任的位置(如内网),会出现不能执行操作,因为MicrosoftExcel处于编辑模式的错误。解决方案是在Excel中,通过文件>选项>信任中心>信任中心设置>宏设置,选择禁用VBA宏并提示,让用户在打开含宏的工作簿时作出明确的选择。
摘要由CSDN通过智能技术生成

Problem: Cannot perform the action because Microsoft Excel is in Edition Mode

Background:

This occurs as if excel is trying to execute a macro but you are not explicitly enabling the content AND the excel file is coming from a non-trusted location such as your intranet. In our case, we are hosting some of our reports in the Documents section of the web client so that they can be a) run free from the confines of a BPF and b) so that the files can be centrally located for our users in a spot other than the BPC server itself. 

 

Basically there are 4 places that a report can be run from

  1. A BPF
  2. From the server itself within the EPM Add-in
  3. From a local file from within the EPM Add-in or via Excel
  4. Another central web location such as the documents folder (or SharePoint etc)

Note: This was a decision that was made as our end users did not like the difficulty of navigating to the EPM Excel Add-In and finding the files on the server. Given the design of our app and what users are doing, this was the best choice. From a techie only perspective, if my only criteria was ease of maintenance I would not do it this way and would just leave it on the server itself for pure ease of maintenance.

Also, if we had chosen options 1, 2 or 3 the above error would not occur as the file would be trusted

Solution:

In Excel , go to File -> Options -> Trust Center -> Trust Center Settings -> Macro Setting

Once there, navigate to the Macro Settings and Choose “Disable VBA macros with notification”. This will force you explicitly choose to accept macros from

Once there, navigate to the Macro Settings and Choose “Disable VBA macros with notification”. This will force you explicitly choose to accept macros from

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值