SAP Knowledge Base Article - Preview

3246249 - Workbook_SAP_Initialize is not working when workbook is stored in a local folder (with many sub folders)

Symptom

When create or save a workbook to the local PC or shared drive to a long path, then try to open it, the macro is not executed.

In the traces following entries can be found:
11:27:53.753 |WARN   |AoPlugin |XlAppWrapBase+<>c__DisplayClass161_0.<Run>b__0                                  |VSTA_Main      | Running Macro throws exception
General .NET Exception [64f1-ed82-a6]:
Ausnahme von HRESULT: 0x800A03EC
   bei Microsoft.Office.Interop.Excel._Application.Run(Object Macro, Object Arg1, Object Arg2, Object Arg3, Object Arg4, Object Arg5, Object Arg6, Object Arg7, Object Arg8, Object Arg9, Object Arg10, Object Arg11, Object Arg12, Object Arg13, Object Arg14, Object Arg15, Object Arg16, Object Arg17, Object Arg18, Object Arg19, Object Arg20, Object Arg21, Object Arg22, Object Arg23, Object Arg24, Object Arg25, Object Arg26, Object Arg27, Object Arg28, Object Arg29, Object Arg30)
   bei com.sap.ip.bi.pioneer.addins.xlwrap.XlAppWrapBase.<>c__DisplayClass161_0.<Run>b__0()
#
11:27:53.753 |WARN   |AoPlugin |XlAppWrapBase+<>c__DisplayClass161_0.<Run>b__0                                  |VSTA_Main      | Macro Name: 'C:\Users\!!!!USER!!!\Documents\Analysis for Office\FolderSecondLevel\FolderLevelB\FolderLevelC\FolderLevelD\FolderLevelE\FolderLevelF\FolderLevelG\HELLO WORLD  Local version AO300 Status Notification - Level G.xlsm'!DieseArbeitsmappe.Workbook_SAP_Initialize #


Read more...

Environment

SAP Analysis for Microsoft Office 2.X

Product

SAP NetWeaver all versions

Keywords

Analysis for Office, Object Macro, AO, .NET Exception [64f1-ed82-a6], Macro Disabled, Macro does not start, Macro does not executed, Visual Basic Naming Rules , KBA , BI-RA-AO-XLA , Excel Addin , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.