on 09-26-2008 8:26 PM
Hello,
Whenever we click the Excel icon on the top of the screen to export a table into excel format, we get a pop up window saying "The document you are opening contains macros. If you are sure this document is from a trusted source..." Then, if we click Yes, the Microsoft Visual Basic window opens and a message saying "Compile Error: Named Argument Not Found" appears.
Why does this happen!!
It should just open in Excel.
Please anyone advise!
Thanks,
Mike
Hi
In order for the Excel document to open you must have macro security set to medium. This is the most appropriate setting as it will prompt the user to enable macros. The excel path in Business One must point to a folder which contains the AutoOpen.XLS (created by SAP Installation)
Paula
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Gordon
Please Comment the items(Local=True) in "AutoOpen.xls" shown and save it.
Public Sub OpenExlFile(ExcelPath As String)
Workbooks.OpenText FileName:=ExcelPath, _
Origin:=xlWindows, StartRow:=1, DataType:=xlDelimited, TextQualifier:= _
xlDoubleQuote, ConsecutiveDelimiter:=False, Tab:=True, Semicolon:=False 'Local:=True
Workbooks.Application.Columns.AutoFit
End Sub
Best Regards
Dayal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What is your Excel version?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Check your security settings in Excel - Under tools > security > enable macros
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.