Excel file on Sharepoint is corrupted.

Hi all, 
I face a problem with an excel file which I share with my colleagues on the SharePoint. The file has macros and pivot tables and also a sheet that users add inputs. This sheet has data validation rules to ensure that users add certain values. The users access
the online version on the SharePoint and add their inputs in the online version.
It happens regularly that my file is corrupted. When this error occurs I take the message: "Errors were detected while saving". In addition, my code doesn't run and it appears the message "error in loading DDL". 
I have also noticed that the size of the file is smaller when the file seems to be corrupted. Users are supposed to add information and not delete every week.  
Could it happen because a user has a different excel version or his office program needs repair?
Could you please help if you have faced the same issue?
Thanks

You might be able to open the workbook my disabling the macros before opening the file. (Tools > Macro > Security ). I had a similar problem and this helped get me back into the file.

Similar Messages

  • Can't open Excel files from Sharepoint 2013

    I am having an issue with opening Excel files from SharePoint 2013. If I click on an excel file it comes up with the error below.
    If I click Try again I get the message below also:
    If I try to open Word or PDF files they open correctly in the appropriate client and I have the option of checking them out and editing them. Any ideas why this would only be happening to Excel files?
    Thanks,
    Shaun

    Hi Shaun,
    I understand that the Excel files cannot be opened from SharePoint in Microsoft Excel.
    Can these files be viewed in the browser?
    I recommend to download a copy of the files with issue and then open them in Excel to see if the issue still occurs.
    If above cannot work, I recommend to repair Office.
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • User is not able to download specific excel file in sharepoint

    Hi,
    Could you please help?
    thanks
    srabon

    Hi Srabon,
    According to your description, my understanding is that you cannot download the excel file from SharePoint.
    I recommend to check if the Download a Copy buttons can be used in the Excel web app and in the ribbon of the library.
    If both the two buttons cannot work, I recommend to check the permission of the user on the excel file and check if the Information Rights Management is enabled in the library.
    When Information Rights Management is enabled in the library and the user has only read permission on the document, then the file cannot be downloaded.
    http://office.microsoft.com/en-in/sharepoint-help/apply-information-rights-management-to-a-list-or-library-HA102891460.aspx
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Download all excel files from sharepoint location to local folder

    Hi,
    How to I copy all excel files stored at sharepoint location to local folder?
    Regards,
    Nidhi

    Hi NidhiP,
    To download Excel files from a SharePoint library by using SSIS, we need to make use of the Script Task. In the Script Task, we can use the methods provided by
    Lists Web Service to work with SharePoint files, and then use the
    WebClient.DownloadFile Method or
    FileStream Class to transfer the files from SharePoint to local file system.
    For the code examples, please refer to:
    http://www.codeproject.com/Questions/457161/how-to-download-files-from-Sharepoint-document-lib?tab=mostrecent 
    http://blogs.msdn.com/b/sowmyancs/archive/2007/09/15/how-to-download-files-from-a-sharepoint-document-library-remotely-via-lists-asmx-webservice-sps-2003-moss-2007.aspx 
    http://sqlblogcasts.com/blogs/drjohn/archive/2007/11/04/downloading-excel-files-from-sharepoint-using-ssis.aspx 
    Regards,
    Mike Yin
    TechNet Community Support

  • Linked Excel files on Sharepoint Online

    Has anyone found a work around to having linked excel files on SharePoint Online?
    Right now in all my tests, SharePoint Online disables the links in my excel file to cells in another excel file and I cannot find anyway to change the links.
    This is a pretty basic function that is used extensively in excel so I'm a little surprised that this is not available in SP Online.

    Hi,
    According to your description, the links to other Excel files in the current Excel file not working if in a SharePoint Online environment.
    In SharePoint, Excel files is handled by Excel Services. In SharePoint 2013, the “unsupported features continue to behave as they do in Office SharePoint Server 2007
    for Excel Services”:
    https://msdn.microsoft.com/en-us/library/office/ff595319(v=office.15).aspx
    Among the “Unsupported Features in Excel Services in SharePoint 2007”, “External references (workbooks that contain links to other workbooks)” is there:
    https://msdn.microsoft.com/en-us/library/ms496823(office.12).aspx
    As a workaround, I would suggest that you can transfer the data from Excel file to SharePoint list/library, it would be easier to deal with this scenario in SharePoint
    with the content management related feature provided.
    You can also submit a feedback to the Office Developer Platform with your expectation about the future version of SharePoint:
    http://officespdev.uservoice.com/
    Thanks                      
    Patrick Liang
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support,
    contact [email protected]
    Patrick Liang
    TechNet Community Support

  • Data refresh of Excel file on Sharepoint 2013 Online (E3)

    Is it possible to refresh data in an Excel PowerPivot model from external data (SQL Server 2012) on the
    SharePoint 2013 Online solution that comes with the Office365 E3 plan?
    I need to either have the Excel file itself on the public facing website with data refresh there, or possibly have the Excel file in a private Business Intelligence Center subsite and then publish webparts or whatever on the public site, as long as the charts
    are refreshed and publicly viewable. I've found a lot of conflicting info on this.
    Re
    D

    Currently, when a workbook that contains a Data Model is published to a library in Office 365, data refresh is unavailable.
    However, you can use a PowerShell script to configure a workaround.
    donwload this white paper for workaround:
    http://technet.microsoft.com/en-us/library/jj992650.aspx
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog

  • Upload Excel File to SharePoint using VBA

    Hi,
    I copied and modified the code from a friend which he got it from this website forum.
    This apprantely works for some people and not me. Please tell me what I am doing wrong.
    Ignore xxxxxx part of the Sharepoint site. Nothing wrong with the site, i tried many combinations, but I get not response, not even an error.
    Public Const HR_URL = "http://sun.xxxxxx.com/eng/st/Lists/Database%20Change% 20Request"
    Sub test()
    'Upload new Excel sheet to SharePoint
    Call copyToSharePoint(HR_URL, ThisWorkbook.FullName)
    End Sub
    '''''''code block from Forum
    Public Sub copyToSharePoint(sharepointURL As String, filePath As String)
    'On Error GoTo errhandler
    'sharePointUrl should not end in a "/"
    'Initialize Variables
    Dim LlFileLength As Long
    Dim Lvarbin() As Byte
    Dim LobjXML As Object
    Dim LvarBinData As Variant
    Dim LstrFileName As String, PstrFullfileName As String, PstrTargetURL As String
    Dim fileName As String, lenFileName As Long
    'Extract file name
    lenFileName = Len(filePath) - InStrRev(filePath, "\")
    fileName = Right(filePath, lenFileName)
    'Check that the webUrl ends in an "/"
    If Right(sharepointURL, 1) <> "/" Then
    sharepointURL = sharepointURL & "/"
    End If
    '**************************** Upload binary files *****************
    Set LobjXML = CreateObject("Microsoft.XMLHTTP")
    PstrFullfileName = filePath
    LlFileLength = FileLen(PstrFullfileName) - 1
    ' Read the file into a byte array.
    ReDim Lvarbin(LlFileLength)
    Open PstrFullfileName For Binary As #1
    Get #1, , Lvarbin
    Close #1
    ' Convert to variant to PUT.
    LvarBinData = Lvarbin
    PstrTargetURL = sharepointURL & fileName
    ' Put the data to the server; false means synchronous.
    LobjXML.Open "PUT", PstrTargetURL, False
    ' Send the file in.
    LobjXML.Send LvarBinData
    Set LobjXML = Nothing
    Exit Sub
    errhandler:
    If Err.Number = 53 Then
    MsgBox "Excel was unable to create the HR file to submit to SharePoint. " & vbNewLine & _
    "Please check that you are not running out of disk space and that no MS Office add-in is causing issues with Excel.", vbCritical, "File Error"
    Exit Sub
    Else
    MsgBox "Your HR could not be submitted to SharePoint. The following error occurred:" & vbNewLine & _
    "Error " & Err.Number & ": " & Err.Description, vbCritical, "Error Uploading to SharePoint"
    Exit Sub
    End If
    End Sub

    I have made the following code work successfully on a Windows 8 machine with the VBA executing from an Excel 2010 file and the file you want to upload going to a SharePoint 2010 site. If you don't need to use SP content types then simply
    take that out of the code. Also, pay attention to the FieldInformation as the Field Display names and Field Internal names can sometimes be different. Cheers.
    Public Sub copyDocToSP()
    Const strLocalFile = "C:\temp\myLocalFile.pdf"
    Const spBASE_URL = "https://thesharepointdomian/sites/yoursite/"
    Const spDOC_LIB = "Your SP Doc Library Name"
    Const spFILE_NAME = "FileNameOnceOnSharepoint.pdf"
    Const spCONTENT_TYPE = "0x000000000000000000000000000000000000000"
    Set ObjectStream = CreateObject("ADODB.Stream")
    Set ObjectDOM = CreateObject("Microsoft.XMLDOM")
    Set ObjectElement = ObjectDOM.createElement("TMP")
    Set ObjectHTTP = CreateObject("Microsoft.XMLHTTP")
    'Reading binary file
    ObjectStream.Open
    ObjectStream.Type = 1 'Type Binary
    ObjectStream.LoadFromFile (strLocalFile)
    BinaryFile = ObjectStream.Read()
    ObjectStream.Close
    'Conversion Base64
    ObjectElement.DataType = "bin.base64" 'Type Base64
    ObjectElement.nodeTypedValue = BinaryFile
    EncodedFile = ObjectElement.Text
    'Build request to load document
    strURLService = spBASE_URL + "_vti_bin/copy.asmx"
    strSOAPAction = "http://schemas.microsoft.com/sharepoint/soap/CopyIntoItems"
    strSOAPCommand = "<?xml version='1.0' encoding='utf-8'?>" & _
    "<soap:Envelope xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xmlns:xsd='http://www.w3.org/2001/XMLSchema' xmlns:soap='http://schemas.xmlsoap.org/soap/envelope/'>" & _
    "<soap:Body>" & _
    "<CopyIntoItems xmlns='http://schemas.microsoft.com/sharepoint/soap/'>" & _
    "<SourceUrl>" + strLocalFile + "</SourceUrl>" & _
    "<DestinationUrls>" & _
    "<string>" + spBASE_URL + spDOC_LIB + "/" + spFILE_NAME + "</string>" & _
    "</DestinationUrls>" & _
    "<Fields>" & _
    "<FieldInformation Type='Text' InternalName='Title' DisplayName='Title' Value='this is the title value' />" & _
    "<FieldInformation Type='Choice' InternalName='Our_x0020_Status' DisplayName='Our Document Status' Value='Ready-to-distribute' />" & _
    "<FieldInformation Type='Text' InternalName='ContentTypeId' DisplayName='Content Type ID' Value='" + spCONTENT_TYPE + "' />" & _
    "</Fields>" & _
    "<Stream>" + EncodedFile + "</Stream>" & _
    "</CopyIntoItems>" & _
    "</soap:Body>" & _
    "</soap:Envelope>"
    ObjectHTTP.Open "Get", strURLService, False
    ObjectHTTP.SetRequestHeader "Content-Type", "text/xml; charset=utf-8"
    ObjectHTTP.SetRequestHeader "SOAPAction", strSOAPAction
    ObjectHTTP.Send strSOAPCommand
    MsgBox (ObjectHTTP.responseText)
    End Sub

  • No option to "Edit in Browser" with Excel file in Sharepoint library

    The excel file in my SP library does not have an option to "Edit in Browser". I can only seem to edit it within Excel, which requires me to download the file onto my desktop, then I would have to upload it again to SP. This obviously requires more
    work and time to do a simple task.
    I followed instructions from: http://office.microsoft.com/en-001/office-online-help/use-excel-web-app-in-a-sharepoint-library-HA102618998.aspx
    Unfortunately, I dont have the "Edit in Browser" link for my Excel file

    Hi,
    According to your post, my understanding is that you could not find the “Edit in Browser” option.
    To use this option, we have to configure the Office Web App Server.
    There are some articles about how to configure the Office Web App for SharePoint, you can refer to them.
    http://blogs.technet.com/b/speschka/archive/2012/07/23/configuring-office-web-apps-in-sharepoint-2013.aspx
    http://stevegoodyear.wordpress.com/sharepoint-2013-build-guide/office-web-apps-2013-server-install-and-configuration/
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • Password protected excel files in Sharepoint 2013

    We have an issue with excel sheets. After editing and saving, the tags on the document disappear.
    Basically one of my members uploaded the document. On first upload, she input the tags on it, and when she opened and editted and saved it, the tags disappear and also an error message came at the top.
    Please note that there is a macro and a password on the document.
    Please help !
    Regards,
    prajK

    Hi Prajk,
    I tried to reproduce the issue per the steps below, let me know if there is misunderstanding:
    Create an Excel file with Password.
    Upload the Excel file.
    Select the file and add tags.
    Click the Excel file, it says with Password enabled, I can only open it with Excel client application. So I open it with Excel, edit it and save again.
    Select the file and click Tags and Notes, the tag is there.
    I wonder if the issue can be reproduced on other Excel documents by her account. If you add a tag to the document item, does the issue still occur?
    Regards,
    Rebecca Tu
    TechNet Community Support

  • Error when opening/editing a document/excel file in sharepoint

    I have a sharepoint site that has Office Web Apps enabled. I am also using MS Office 2010. Can you please help me solve this problem?
    Here are my steps when I encounter this error:
    1. Click ok the document - this will open the document in the browser
    2. In the document (opened in browser) click 'Open in Word' - this will open Microsoft Office Word and will ask for credentials
    3. I will enter my valid credentialls - Upon entering my credentials for the first time, it will load the document however, after it loads the document, another login window appears again,
    the error here is that it keeps on asking me for credentials, the login window keeps on popping out upon clicking on the OK button, if I click on Cancel it will close the login window.
    4. In the office document, click Edit Document - an error will appear saying 'A problem occured while connecting to server'
    ----------------------- Sharepoint Newbie

    Hi,
    Add you site in trusted zone of your IE and
    Open Tools/Internet Options/Connections/LAN Settings and uncheck "Automatically Detect Settings"
    See this thread for more info:
    http://social.technet.microsoft.com/Forums/en-US/sharepointadminlegacy/thread/4667a58c-a42e-44d2-8bb3-75db0aff5ba4
    Also try with another browser or in different machine.
    Let us know your result
    Hemendra: "Yesterday is just a memory,Tomorrow we may never see"
    Whenever you see a reply and if you think is helpful, click "Vote As Helpful"! And whenever
    you see a reply being an answer to the question of the thread, click "Mark As Answer

  • What is the best way to read and manipulate large data in excel files and show them in Sharepoint

    Hi ,
    I have a large excel file that has 700,000 records in it. The excel file has a few columns that change every day.
    What is the best way to read the data form the excel file in fastest and most efficient way.
    2 nd Problem,
    I have one excel file that has many rows each row contain some data that has certain keywords.
    What I want is  to segregate the data of rows into respective sheets(tabs ) in the workbook.
    for example in rows have following data 
    1. Alfa
    2beta
    3 gama
    4beta
    5gama
    6gama
    7alfa
    in excel
    I want there to be 3 tabs now with each of the key words alfa beta and gamma.

    Hi,
    I don't really see any better options for SharePoint. SharePoint use other production called 'Office Web App' to allow users to view/edit Microsoft Office documents (word, excel etc.). But the web version of excel doesn't support that much records as well
    as there's size limitations (probably the default max size is 10MB).
    Regarding second problem, I think you need some custom solutions (like a SharePoint timer job/webpart ) to read and present data.
    However, if you can reduce the excel file records to something near 16k (which is supported rows in web version of excel) then you can use SharePoint Excel service to refresh data automatically in the excel file in SharePoint from some external sources.
    Thanks,
    Sohel Rana
    http://ranaictiu-technicalblog.blogspot.com

  • SharePoint Library - If I save file from Excel File Save As - then I always get "File already exists. Do you want to replace it?" - Upload works fine though.

    Hi there,
    In my SP 2010 document library - When I try to save an Excel file from File > Save As menu to the document library it always prompts me "File already exists. Do you want to replace it?" even though the file does not exist in that document library.
    To the same document library - if I upload a file then it accepts it all fine.
    Any clues why I cannot save files using File > Save As menu?
    Thanks.

    Hi,
    As I understand, the notification pops up when you save an excel file to SharePoint library, while when directly upload file to library, there is no wrong.
    Please confirm if the issue occurs to other machines.
    Please open Microsoft Office Upload Center on the issue machine, then click settings, clear cache via checking Delete files from the Office Document Cache when they are closed.
    http://office.microsoft.com/en-in/excel-help/office-document-cache-settings-HA010388664.aspx
    If the issue occurs to client, I’d recommend you also ask the question in Excel forum:
    http://social.technet.microsoft.com/Forums/office/en-US/home?forum=excel
    Regards,
    Rebecca Tu
    TechNet Community Support

  • Excel & Hyperlinking with Sharepoint

    I have a tracking document in Excel that has each entry linked to another place on Sharepoint to locate files and intranet articles. There are no formulas or other complex entries....just text and hyperlinks.
    If I open the Excel file in Sharepoint and edit it there, we have no issues.
    If I download the Excel file to my desktop...all links to other files are broken (the intranet file links remain active). When I try to access the link I receive a pop up window that states, "Cannot open the specified file."
    This is a file accessed by multiple people and used as a resource, there are well over 100 linked entries and the group would like to be able to use the file on their desktops.
    I have already found and unchecked the "Update Links on Save" option. This now allows me to download the file to the desktop, have no access to the links, and then upload it where I can then access the links again.
    Is there any way to preserve the links so they can be accessed on the desktop?
    Software Specs
    Windows 7
    Office 2010
    Explorer 8
    Thank you,
    Christine

    The links are absolute. All links are to our internal team site or to our intranet. The intranet links aren't affected.
    This wasn't an issue before the company upgraded us to Windows 7/Office 2010.
    The links are established (right click, select Hyperlink, copy/paste from browser) while the Excel file is on the desktop and all work fine there.  The Excel file is then uploaded to Sharepoint where the links continue to work. When the Excel file is
    downloaded to the desktop again...all links are broken. If I re-upload it to Sharepoint though, it is fine.
    I double checked the actual link. It reads the same on the desktop initially as it does on Sharepoint. When the file is downloaded to the desktop again it seems to be missing the first half of it. What function could be editing the link?
    Christine

  • VBA code to update Excel Data in sharePoint list

    hi Team,
    I have excel sheet created having data. I need to upload it in sharepoint List.
    Please provide me VBA code for the same.

    Please try this.
    Sub UpdateSpecificCells()
    'If nobody has the file checked out
    If Workbooks.CanCheckOut("http://excel-pc:43231/Shared Documents/ExcelList.xlsb") = True Then
    Application.DisplayAlerts = False
    'Open the file on the SharePoint server
    Workbooks.Open Filename:="http://excel-pc:43231/Shared Documents/ExcelList.xlsb", UpdateLinks:=xlUpdateLinksNever
    ActiveSheet.Cells(2, 7).Value = 100
    ActiveSheet.Cells(3, 7).Value = 200
    ActiveSheet.Cells(4, 7).Value = 300
    'Close the workbook
    Workbooks("ExcelList.xlsb").Save
    Workbooks("ExcelList.xlsb").Close
    End If
    End Sub
    I haven't used SharePoint in many years, and I can't test that code now, but I've used that before to update Excel files in SharePoint.
    Knowledge is the only thing that I can give you, and still retain, and we are both better off for it.

  • Open Excel files in Excel

    Hello,
    I just downloaded FireFox 8 because I've had enough of IE. Now, when I click on an Excel file in Sharepoint 2010 it opens it directly in Firefox, without the option of download/save. I need to open these files in Excel so I have the analysis and editing of Excel. How do I bring this option back so that it doesn't directly open in Firefox? When I click the Open in Excel button, I get an error '''''''To open this workbook, your computer must have a version of Microsoft Excel installed and your Web browser must support opening files directly from Excel in the browser.'''''''

    So it appears the issue is only with *.xlsx extensions (new for Office 2007). Is there a plug-in that can tell FF it is still an Excel file? Don't need the editing capability in Sharepoint just to download into Excel and save locally.
    Thanks!

Maybe you are looking for

  • How to find out who put an event in the EventQueue?

    Hello, I want to debug who has put some event in the EventQueue. I tried to create my own EventQueue (DebugEventQueue) and override postEvent and dispatchEvent. But all I see is, that postEvent is never called, and dispatchEvent has a stack trace lik

  • Supress e-mail sent through SUS for PO creation

    We want to suppress e-mails going out to suppliers whenever a PO is created in the system. I have disabled the e-mail notification in SPRO->Supplier Self Services-> master data-> Settings for BP. However it seems the e-mails are still sent out. any h

  • Unity 7 migration to Connection

                       we are migrating Unity 7.0x VMO  to unity connection 8.x . so we will be using COBRAS. we at the same time want to ldap synch the Unity connection  - is this done during the cobras import ? Also some of the alias's on the unity do

  • Update variable after datagrid edited

    I have 4 variables that are numbers being retrieved and assigned to an arraycollection for a datagrid private var myDataProvider:ArrayCollection= new ArrayCollection([{col1:'Approaching headlights', col2:myVar1}, {col1:'Bright lights in my eyes', col

  • Disadvantages of Time Capsule?

    Dudes, Am thinking about replacing my Airport Express and USB HDD with a Time Capsule (and selling the USB HDD), as I have two Macs I'd like to backup wirelessly and my current range with the AX is poor. Before I spending any cash though are there an