When Opening Excel file, there is a message

Dear BPC Experts:
   When I open excel files in BPC NW 7.0, there is a warning message saying "Programmatic access to Visual Project in not trusted"
Does anyone have suggestion for this message? Thanks in advance.
-Fred
Edited by: Fred Cheng on Jul 22, 2009 10:47 AM

From MS Excel 2003 goto Tools > Macro > Trusted Publishers > check on the option Trust access to Visual Basic Project.  From the Security Level tab - click on the Medium option.
From MS Excel 2007 click on Office button in the top-left corner, then click on the Excel options from the pop-up window.  Click on the Trust Center option > Trust Center Settings > Check on the option Trust access to the VBA project object model.  Also check the option Disable all macros except digitally signed macros.
Best regards,
[Jeffrey Holdeman|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/jeffrey+holdeman]
SAP BusinessObjects
Enterprise Performance Management
Regional Implementation Group

Similar Messages

  • "Open method of Workbooks class failed" when opening Excel file via Internet Explorer

    (apologies, I posted this first to the general Office 2010 forum, but then realized this was probably a better spot to post)
    We have an Excel COM add-in installed on users' PCs.  This add-in responds to workbook open events by opening a particular XLA file (also deployed to the PC) to make certain features available.  This process works flawlessly when Excel files are
    opened locally - but when a user attempts to open an Excel file from an IE link, we get the following error: "Open method of Workbooks class failed".  This is happening on the line that is trying to open the XLA file.  This only happens
    when launching an Excel link from IE - works fine in Chrome or Firefox.
    I have found several posts on this topic, but no solutions:
    1. This post (https://social.msdn.microsoft.com/forums/office/en-US/73c96005-84af-4648-b103-32b677205be3/open-method-of-workbooks-class-failed)
    is the closest to our problem.  In this case, the "answer" was that the user may not have access to the 2nd workbook being opened.  But in our case, we're opening an XLA that is on the local machine, and I've confirmed that it is not
    corrupt and accessible (read & write, just in case!) to Everyone.
    2. This (very old) post (http://www.pcreview.co.uk/forums/open-method-workbooks-fails-excel-hosted-ie-t965608.html)
    seems similar, but is talking about opening Excel inside of IE.  This is not what we're doing - the link is supposed to (and does) open Excel outside of IE.  Interestingly, Excel.exe is being launched with the "-embedded" flag, even
    though it isn't running in the IE window.  When launching Excel by opening the file locally, Excel.exe is run with the "/dde" flag instead.  Clearly the "-embedded" mode is what is causing the problem.  I could change the
    links on the web page to use some JavaScript to open Excel differently... unfortunately, the links are actually generated by SharePoint (the Excel files are in a SP repository), so this is not really an option.
    3. This Microsoft KB article (http://support.microsoft.com/kb/268016) talks about problems opening an XLA directly from IE... but this is the case of a link pointing
    directly to an XLA file, not opening a regular workbook that in turn opens an XLA, as is my case.  In fact, this article specifically points out in the "More Information" section that "End users do not normally open XLAs; instead they open
    an XLS that (if needed) loads one or more XLAs during startup." ==> precisely what I'm trying to do that is giving me the error!
    I've replicated the situation with a very simple COM add-in (created in VS2010 using VB.Net) and a very simple XLA file (does nothing, just pops up a message in auto_open).  For anyone wanting to try it out, here is the exact test case:
    1. In Excel, create a simple XLA file containing only the following code, and save it in C:\TEMP\dummy.xla:
    Sub Auto_Open()
    MsgBox "Auto Open fired"
    End Sub
    2. In Visual Studio, create a new Excel 2010 Add-In.  I created mine via Visual Basic, but I doubt the choice of language matters.  Place the following code in ThisAddin.vb:
    Public Class ThisAddIn
    Private Sub ThisAddIn_Startup(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Startup
    AddHandler Me.Application.WorkbookOpen, AddressOf Application_WorkbookOpen
    End Sub
    Private Sub ThisAddIn_Shutdown(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Shutdown
    End Sub
    Sub Application_WorkbookOpen(ByVal workbook As Excel.Workbook)
    On Error GoTo ErrHandler
    If (Not workbook.Name.Contains("dummy.xla")) Then
    MsgBox("Workbook open")
    Application.Workbooks.Open("C:\temp\dummy.xla")
    Application.Workbooks("dummy.xla").RunAutoMacros(Excel.XlRunAutoMacro.xlAutoOpen)
    End If
    Exit Sub
    ErrHandler:
    MsgBox(Err.Description)
    End Sub
    End Class
    3. Build & publish this add-in and install it on the same machine as the XLA created in step 1.
    4. Create and save an empty Excel workbook (I called mine WayneTest1.xlsx) - save it locally (on your desktop), and put a copy somewhere on your web server (I put mine directly in c:\inetpub).
    5. Create an HTML file with a link to that workbook, saving it to the same web server location - here is mine:
    <html>
    <body>
    <a href="WayneTest1.xlsx">Link to Excel file</a>
    </body>
    </html>
    6. Double click the workbook on your desktop (from step 4) - opens fine, I get the "workbook open" message, following by the "Auto Open fired" message.
    7. In Internet Explorer, navigate to the HTML file specified in step 5 and click on the link - when prompted, select "Open" - I get the "workbook open" message, following by the error message "Open method of Workbooks class failed".
    Here are a few things I've ruled out / tried so far:
    - Unchecked all the "Protected View" settings in Excel, made no difference
    - Unchecked all the "File block settings" in Excel, made no difference
    - Made sure dummy.xla was open for read & write to Everyone
    - Made sure the web page was in Trusted sites and set the security level to Low for those sites in IE
    - Tried making the local desktop file (step 6) readonly, made no difference (i.e. launching it locally still worked fine)
    - Tried using Excel 2013 - made no difference
    Any ideas / suggestions?

    Hello Wayne,
    Apologies for the delay.
    I went through your post and tried to reproduce the issue. I was able to reproduce it. Based
    on its complexity and as it requires more in-depth analysis, your question falls into the paid support category which requires a more in-depth level of support.
    Please visit the below link to see the various paid support options that are
    available to better meet your needs. http://support.microsoft.com/default.aspx?id=fh;en-us;offerprophone
    Thanks,
    Anush

  • Login prompt appearing when opening Excel Files - SharePoint 2010 SP1 - Office 2007

    hi,
    i have 2 sites on the same server, 1 at Port 80 and 1 at port 8300
    https://contoso.com
    https://contoso.com:8300
    Both are under same AD and credentials.
    But when users on 8300 port site, tries to open office files such as Word or Excel.
    In read only mode, login credentials screen comes atleast 3 times again and again, although users are using same and correct credentials
    but when clicked as edit mode, then file just opens.
    I have saves their credentials locally using credentials vault under user accounts.
    while suggestions on this page were already there:
    http://sharepoint.licomputersource.com/2011/04/sharepoint-2010-prompts-for-credentials-when-opening-office-documents/
    I have added https under Excel trusted File Locations under CA
    I have correct AAM mapping under CA.
    Please guide how to fix this. Thank you
    Server: Sharepoint 2010 SP1
    End Users: Office 2007 and Office 2010

    Hi,
    For Login prompt appearing, please refer to:
    http://support.microsoft.com/kb/943280. also, please make sure you have already add this site into trusted sites zone in IE since after this settings, you will not get the read only/edit popup windows. you can change different computers to test
    to check if the office settings has some special. in addition, please keep one version of office product.
    For he excel files open in browser and then have a option to open in Excel, please go to library settings > advanced settings > Opening Documents in the Browser to check if both sites have the same settings. also, maybe you miss click the open in word/
    open in excel button after open in brwser.
    Regards,
    Seven

  • Get different format error when opening excel file

    Hi,
    In 10g form, I use CLIENT_OLE2 to generate an excel file on the client machine. Every time, I open the excel file, I get the error message, 'The file you are trying to open, 'my1.xls', is in a different format than specified by the file extension....'. However, I still can open the excel file. I am using excel 2007.
    Could somebody please explain what the problem is? How should I solve this problem?
    Thanks for your help.
    neemin

    I don't know that off the top of my head. When I have developed OLE code in Forms I found it very useful to make a Excel macro that did what I wanted to accomplish and the translate that to OLE code in Forms.
    I encourage you to create a new forum entry for this second issue. Maybe someone else has done it and can give you a quick answer.

  • "File Now Available" when opening Excel File

    When I open an excel file from using the OpenFileDialog VB, there is a bit of a delay.  After a few seconds a dialog box pops up saying:
    "File Now Available"
    This has two buttons "Read-Write" and "Cancel"
    1) How do turn the alerts off and have it default to Read Write?
    2) The delay in opening can cause issues as the user will not know that there is in fact a delay.  The user may then proceed through my form and press the OK button which will cause an error.  How do I show a status bar to alert the user that there is some Excel process running in the background (i.e. slowling opening the file) when using the OpenFileDialog? Worse case scenario I can set the enable property of the OK button to False until the file is open. 
    Thanks
    EM

    Two thougths -
    Use this:
    Private Function IsFileOpen(strFullFilePath As String) As Boolean
    'http://www.xcelfiles.com/IsFileOpen.html
    'Check if File is Open.  Works for Excel files, but not text files.
        Dim hdlFile As Long
        'Error is generated if you try opening a File for ReadWrite lock >> MUST BE OPEN!
        On Error GoTo errsub:
        hdlFile = FreeFile
        Open strFullFilePath For Random Access Read Write Lock Read Write As hdlFile
        IsFileOpen = False
        Close hdlFile
        Exit Function
    errsub: 'Someone has file open
        IsFileOpen = True
        Close hdlFile
    End Function
    Or just access the Excel file without "opening it" at all using OLE DB (use SQL to modify it) or ExecuteExcel4Macro.
    Cheers

  • Excel 2010 error when opening excel file

    Getting error "excel can not open the file xlsx because the file format or extension is not valid"

    Hi,
    Based on the error message you provided, this file may have been saved as an Excel binary workbook. However, the workbook has an .xlsx extension that is appended to the file.
    Try to change the file name from ".xlsx" to ".xlsb" or ".xls" to check the result.
    One other possible cause is the file is corrupted, open Excel and click File -> Open -> Browse to the file location, select the file, and choose "Open and Repair", check if this helps in this scenario:
    Regards,
    Melon Chen
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Is there way to have Numbers open excel files automatically

    Is there way to have Numbers open excel files automatically when I click on my old excel files rather than opening numbers and then opening file?

    Try this: from Finder, select an Excel file. Hit Apple-i to get the file info. You'll see a section labeled *Open with:* Use the dropdown to select Numbers and click the *Change All* button.

  • Is there a way to open Excell file from the server and display in the UI and save it back on to the

    Hello there,
    Is there a way to open Excell file from the server and display in the UI and save it back on to the server? (like showing xell file as a datagrid - add rows, columns etc.)

    Hi Mike,
    Welcome you to the forum.
    You may try:
    SELECT * FROM MyDBNameHere.dbo.OUSR T0
    Thanks,
    Gordon

  • Downloaded Appleworks 6.2.9 for Mac Updater-2.sim but when i try to open the file i receive the message "legacy image should be updated".  what does this mean and/or entail?

    downloaded Appleworks 6.2.9 for Mac Updater-2.sim but when i try to open the file i receive the message "legacy image should be updated".  what does this mean and/or entail?

    Mavericks is not recognizing the .smi extension - on my Mac it thinks it's a RealPlayer document. You are not going to be able to do anything with this - it requires AppleWorks to be present to be updated, and you can't run AppleWorks on Mavericks (other than by the rather roundabout process of installing Snow Leopard Server in Parallels and installing AppleWorks on that, as described here).

  • Opening an Excel 2003 file in Office 2010 Universal Data Connection error when opening the file from a domain.

    Hi.
    One of my users are having  problem with old accounting files in Excel 2003 when opening Excel 2010.
    The user experience that linked information is not being updated properly.
    And suspects that it something do with Universal Data Connection .
    How can an Excel 2003 spread sheet be converted to Excel 2010 spread sheet and still contain active links?
    When the user is opening and converting the file as mention in your suggestion, on the common share on a common domain, the links "breaks".
    we are not using SharePoint on our domain.
    But when doing it on a local machine, the links does not "breaks".
    Looking forward to get solved to this problem.
    Thank you in advance.
    Rgds

    it sounds link, the links changed from relative paths to absolute path. You need to use absolute path in original file.
    KR

  • Error message when opening video files on z10

    when opening video files, showing error-the file can't be played due to an unexpected error(-3). request a solution to resolve this

    Hi and Welcome to the Community!
    Anytime random strange behavior or sluggishness shows up, the first thing to try is a proper reboot:
    Pre-BB10 Devices ONLY. With power ON, remove the back cover and pull out the battery. Wait about a minute then replace the battery and cover. Power up and wait patiently through the long reboot -- ~5 minutes.
    BB10 Devices. Hold the top button down until the counter reaches zero. Wait for the device to be fully shut down (e.g., nothing at all displayed on the screen, no LED lights, etc.). Hold the top button until the red LED is lit. Wait through the full boot-up process. If this fails, you can attempt the battery-pull method above, but it is normally NOT recommended unless nothing else works.
    See if things have returned to good operation. Like all computing devices, BB's suffer from memory leaks and such...with a hard reboot being the best cure.
    Otherwise, please provide additional details...for example:
    What, exactly is the true file format? Not simply the file extension, but the true format?
    Does the file extension match the true file format?
    Where was the file created?
    Does the file work on other devices?
    Do other format video files work OK on your device?
    What is your exact OS level, and what exact app are you using to try and play the file?
    Good luck!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Some users can't open Excel files. It is trying to open it in Internet Explorer "An error has occurred. Please try again."

    I have some users in my company that can't open Excel files from any document libraries on SharePoint 2010. The receive the error message "An error occurred. Please try again."  We don't currently use the Excel calculations services. When
    a user opens an excel file they are prompted to either Read Only or Edit.
    This affects less than 5 people in a large company.  They have the Full Control permissions and have been able to open the files previously.  There has been no changes made to the server either.  I can't find anything that points to this in the
    event viewer. 
    It doesn't matter if which computer that they try to open this up from either.   All computers are Windows 7 Professional with IE 9 and Office 2010 x64.   
    I can't find anything that points specifically to this exact error. None of the excel files contain pivot tables.    This one has me stumped.

    I would make sure no one has open on machine / locked on machine (Would assume you checked this, but wanted to add)
    Also would have assumed you restarted the machines (:))
    Make sure the file security did not change (check to ensure no one changed the sercuity of the excel)
    Make sure the version of excel is the same (Changing from 2010 back to 2007 affects the file, etc.. on convert) that no one converted and saved thus causing error in file.
    Can they open other excel files?
    It sounds like the excel file it self has changed if you cannot see issue in SharePoint logs.
    If it is all SharePoint excel files - try deleting one persons access and readding them to see if that helps.
    SharePoint has issues ;)

  • Cannot Open Excel File after exporting from Disco Plus

    Hi there,
    I got a question from one user having issue with opening Excel file after exporting from Disco Plus.
    The report has been using for a while and he is using Excel 2003 version and Discoverer 10g(10.1.2.2), he never got this kind of error before, just recently got error.
    After exporting from Disco Plus he saved file on his desktop and when he tries to open the excel it says "Cannot be Accessed, can be corrupted...." but this is not from network drive since he saved file on local desktop or C drive.
    Also not for all reports, only this particular report and only specific parameter, for example for parameter 2008 Feb opened successfully, but for2009 Feb he gets this error when trying to open excel.
    i tried in excel 2007 also , i dont think this is Excel version error, am not sure.
    Also after go live last week (we upgraded database from 9i to 10g) but i am not sure this causes ,since for one parameter working, for other parameter not working.
    Actually we should get one window for Macro when we try to open excel, but he is not getting it seems.
    Any ideas/thoughts on this would be greatly appreciated.
    Thanks for your help
    --skat                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Rod,
    Thanks for your quick response on this.
    Yes, we can export to other formats as well, but actually exporting is working, after saving the file on our local desktop/drive and when we try to open we get this kind messages or we cannot open the file, we should get message window for Macro to enable/disable but for this report we are not getting this either,
    Also this happens only for specific parameters,like i mentioned above it works I mean excel file opens for one set of parameters but for some other set of parameters cannot open.
    For example :- when we enter FEB 2008 it works, if we enter FEB 2009 it won't open the file.
    This is weird
    I am still working on this issue, may be better to recreate the report again might be helpful,
    Any ideas/comments/thoughts would be great
    Thanks
    Skat

  • Cannot go on suspend with an open Excel file from network

    Hi all,
    I cannot go on suspend with an open Excel file with macro - from network.
    The error msg is that I need to close all the open files first.
    "Windows cannot go on standby because Microsoft Office documents or application components are being accessed from the network. You must close the open documents or exit the application before you can put the computer on standby"
    The error msg will not appear when I use regular excel files, only with macro.
    Any ideas?
    Thanks.

    Hi,
    In regarding of the issue, there are some reasons.
    Firstly, if we got some error message like: "Cannot find the file 'C:\Folder\FileName.xls' .Make sure the path and filename are correct and that all required libraries are available."
    Please try the steps:
    Open Excel>Click on file>options>Advanced options>General tab>Uncheck the box “ignore other applications which use Dynamic Data Exchange (DDE).
    Secondly, When we try to open a Office file, it'll create a temp file in the same directory. If we have no full permission with the folder and OneDrive, we also could not open it.  Thus, we'd better make sure we
    have full permission. Please try to use the administrator account to test.
    Thirdly, please see the some general troubleshooting about Excel start issue:
    http://support.microsoft.com/kb/280504
    Hope it's helpful.
    Regards,
    George Zhao
    Forum Support
    Come back and mark the replies as answers if they help and unmark them if they provide no help.
    If you have any feedback on our support, please click "[email protected]"

  • Possible cause of "Cannot open Excel file error"?

    Hi!
    Here's my problem: one of our LabView applications creates .xls Excel
    files.  However some of these files are too big to be opened into
    Excel, so we need to open these files in DIAdem to analyse the data (in
    fact, even the smaller ones often need to be analysed in DIAdem). 
    The problem is that DIAdem seems totally unable to open Excel files,
    small or big, created by our LabView application or not.  The
    error message appearing when we try to import Excel files is "Cannot
    open Excel file"... which doesn't give any clue about the cause of the
    error.   My question is: what may cause this error to
    occur?  I searched both the help and the website without finding
    useful information.
    The computer is running on WinXP with OfficeXP installed, and we are
    using DIAdem 9.0.  If additionnal information is required, just
    let me know.
    Thanks in advance!
    Maxime B.

    Hi!
    I did some experiments this morning.  First of all, the file I had
    created using Excel that I tried to open yesterday just opened.  I
    don't know why it didn't work yesterday, but, for now, it's
    working.  Now, for my LabView-created files, I still get the same
    error message.  However, if I open the files in Excel and try to
    save, a warning message appears, saying that the file may not be
    compatible with the text (separator:tabulation) format.  If I
    ignore the warning and save the file as a .xls file, I can now import
    it into DIAdem.  The problem is probably that my LabView-created
    files are not "real" .xls files.  Now, this is a problem, because
    I can't open some of the bigger files in Excel without having the data
    truncated (Excel has a maximum of 65536 rows); last year, using DIAdem
    8.X (I don't remember the exact version we had), I could open those
    files without any trouble... Is there any way to get those files to be
    opened with DIAdem 9.0?  I attached one of those files if it may help.
    Thanks!
    Maxime B.
    Attachments:
    Data1.xls ‏152 KB

Maybe you are looking for

  • Address -Endaddress in Sap Script

    Hi Requirement is to  add District field in new line in SAP Script. I am using Address End address : /:          ADDRESS /:            TITLE       &DKADR-ANRED& /:            NAME        &DKADR-NAME1&, &DKADR-NAME2&, &DKADR-NAME3&, &DKADR-NAME4& /:  

  • Swapping HD from G5 to Mac Pro

    Just bought a refurb 2.8 8-core and I want to know if I can just swap out the hard drive from the G5 to the Pro with all the data on it, instead of having to transfer the files. On a related note, I'm going to reinstall most of the software, but prog

  • Render framemaker files in Documentum Content Server to pdf

    Is there a third party tool available which can communicate with Documentum Document transformation service to convert a framemaker file or book to pdf?

  • I am not able to burn a purchased song to a CD. Any clues?

    I am not able to burn a purchased song to a CD.  I follow the instructions, and it looks like it will start, but it never happens, it ends after about 20 minutes, saying that an unknown error occurred (4000).  Anyone know how to remedy this?

  • Non supported version of SQL with new install of SCOM 2012 SP1

    I have SQL 2012 SP1 running on Server 2012.  I have tried the SCOM installation with and without CU2 (to fix the 1618 installation error) SC VMM installed cleanly and appears to work. The install for SCOM produces an error that says, "The installed v