解决打开WEB ADI的excel文件时出现Run-time error '1004' 的错误

 

解决打开WEB ADI的excel文件时出现Run-time error '1004' 的错误。下面的解决方法来自My support

 


Run-time error '1004' Opening WebADI Spreadsheet to Import Dimension Members [ID 376013.1]

 修改时间 03-MAY-2010     类型 PROBLEM     状态 PUBLISHED 

In this Document
  Symptoms
  Cause
  Solution
  References


 

Applies to:

Oracle Enterprise Performance Foundation - Version: 11.5.10 to 11.5.10.2 - Release: 11.5 to 11.5
Information in this document applies to any platform.
Checked for relevance on 3-May-2010.

Symptoms

In Enterprise Performance Foundation Administrator, when trying to import dimension members using the "Create from Spreadsheet" button located at "Configuration Rules" > "Dimension" > "Members", the following error occurs when you open WebADI.xls:

Run-time error '1004':

Method 'VBProject' of object '_Workbook' failed

You did select the "Enable Macros" button when opening the spreadsheet.  Additionally, in Excel 2003, if you go to "Tools" > "Macro" > "Security...", the Security Level is "Medium".  For Excel 2007, you have updated the Internet Explorer Security Settings (Security > Internet > Custom Level...) to set the Scripting option "All status bar updates via script" to "Enable".

Cause

In the Excel macro security area, Visual Basic Project is not selected as a trusted source.

Solution

In Excel 2003, go to "Tools" > "Macro" > "Security" and select the "Trusted Sources" tab.  Check the box next to "Trust access to Visual Basic Project".

(Note: The box for "Trust all installed add-ins and templates" should also be checked.)

In Excel 2007, use the following navigation:

  • Click on the Office button in the upper left corner
  • Click on the Excel Options button
  • On the left, click on the Trust Center
  • Click on the Trust Center Settings button
  • On the left, click on Macro Settings
  • Click on "Trust access to the VBA project object model"
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
WebADIWeb Application Desktop Integrator)是Oracle E-Business Suite的一个强大工具,用于在Excel中快速上传、下载和修改大量的数据。以下是WebADI开发的指南: 首先,在开发WebADI之前,需要确保已安装和配置适用的Oracle E-Business Suite版本,并且用户具有对相关模块的访问权限。 接下来,在Oracle E-Business Suite的系统管理中创建一个新的WebADI定义,并指定相关的模块和功能。在定义中,需要设置上传和下载的数据源、布局、模板和验证规则等。 然后,使用相关的开发工具,如Oracle JDeveloper或Oracle Forms Builder,创建自定义的数据源和布局。数据源指定了从数据库中获取数据以及将数据写回数据库的逻辑。布局定义了Excel中的列和行,以及与数据库中的字段对应的映射关系。 接着,定义上传和下载的模板,以指定将在Excel中显示的数据字段和布局。模板可以包含公式、格式和数据校验规则等。 在开发过程中,还应该考虑用户界面的设计和用户友好性。例如,添加菜单、按钮和工具栏来简化用户的操作。 最后,完成WebADI的开发后,可以在Oracle E-Business Suite中进行部署和验证。部署可以通过在应用程序中设置访问权限或分配给不同的用户角色来实现。 总结起来,WebADI开发指南包括准备环境、创建WebADI定义、开发数据源和布局、定义模板、设计用户界面以及部署和验证。这些步骤可以帮助开发人员有效地利用WebADI工具来处理大量的数据。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值