Do you have a workaround solution to avoid overwriting an Excel file in SharePoint? I know about the "check out" one and the permission. Is there anything else?
If the file name exist, SharePoint will overwrite the file, you can turn on versioning in order to keep the previous file
Related
English may not sound natural using a translator. sorry. Going to the main topic, while working on Excel, I accidentally deleted a sheet from Excel and threw it away. Is there any way I can turn it around? I've learned that I can never turn back. I have already saved.
Tried to undo such as control + z. just didn't come back.
The only way I know is to open your backup copy of the spreadsheet.
When doing important tasks I always work on a copy - if the next step or process is successful then I make another copy. This way I have a "set" of copies being the historical backup.
Excel does warn you about the consequence of deleting a, or several, sheets.
If the Excel file is saved on OneDrive (or any other cloud) or Sharepoint, you can open an old version of the file and transfer the sheet to your recent file.
If you have saved it on your hard drive and your computer is set up to save backups you can right click the file, open the options menu. There you might then see a list of past versions, from which you can get back your sheet.
We have a excel document that contains a ton of Hyperlinks to other Excel Documents & File Paths all located on our network. All of a sudden the Hyperlinks to the Excel Documents have broken, Excel will state the error below;
Some files can contain viruses or otherwise be harmful to your computer. It is important to be certain that this file is from a trustworthy source.
Would you like to open this file? OK/Cancel
We click OK and nothing will happen. Opening file paths is still working fine and I've created another Excel document which has links to a PDF, a File Path, a Word Doc & an Excel Doc. Still only the Excel that isn't working.
I have followed several articles online that suggest how to disable the warning message,below is a well detailed article for 2007/2010 but we had tried to adapt it for 2013/6. Nothing I have tried is working, does anyone on Stack have any suggestions?
https://support.microsoft.com/en-gb/help/925757/how-to-enable-or-disable-hyperlink-warning-messages-in-2007-office-pro
We are using Office 2013/6 Standard/Professional.
Any help would be greatly appreciated!!
Many thanks,
Sean
This happens when you copy the excel file to different location:
You can do test: place hyperlink into 1 cell save it, and then copy the file to another location: you can see that hyperlink of your copied excel file would not work.
However when you choose the same file to "Save As": the hyperlink of the saved file in different location will work.
For excel internal hyperlinks (hyperlinks to other worksheet cells) similar thing happens when you rename the file: hyperlinks won't work, but they will work if you choose to "Save As".
This means, the solution to this problem would be: copy the excel file to it's original location and name it with the original name (when hyperlinks were working). In this case hyperlinks will work. Then if you need to move or rename the file: open the file from original location and select "Save AS" anywhere you would like to save, in this case hyperlinks of your saved file would work.
Conclusion: relative references to the Excel file in hyperlinks are not automatically updated when externally file is moved or renamed.
So we managed to find out what was the cause of this problem.
Microsoft are currently working on fixing this as stated in the article below, but as a quick fix you simply need to remove Windows Update KB4011051.
https://support.office.com/en-gb/article/Hyperlinks-to-another-Excel-workbook-no-longer-work-after-updating-to-the-August-1-2017-update-KB-4011051-dfe0aa5c-a2ba-41b8-923a-fe0e4556f936
Thanks for the assistance,
Sean
My spreadsheet has external links that I cannot find. It pops up the "workbook contains links to other data sources" warning upon opening. I don't want to just suppress the link warning, I need to remove the links.
I've tried all the basic ways to find external links that I'm aware of, and it's still happening. I've tried:
Searching for "[" in formulas in the entire workbook
Charts
Checking the named ranges from the Formulas/Name Manager menu
Checking objects
Conditional formatting menus
Is there another way to find external links? Thanks.
It can come from several sources. In my case, it came from the formula of a rule in the conditionnnal formatting. And no Excel search tool could find it.
In the case of an xlsx file, you can find it with an automatical approach:
In the Data tab, click on Edit links. All your links should be displayed. Mark down the values of the Location fields.
Unzip the xlsx file. Technically, an xlsx file is a zip container. See this post for more information.
Now search the whole directory for the Location strings.
Figure out to what your links are related. In my case, it was inside a x14:conditionalFormatting xml node. No wonder the Search tool did not work, it was not in a cell.
Modify that formula
Game over.
I would check the names collection in your workbook.
If you have a named range, for example, that has links to another workbook this will do this also... You can examine these in Excels Name Manager, or some VBA code executed in the debug window...like:
for i = 1 to names.Count: debug.Print Names(i): Next
I had an Excel 2013 file that whenever opened displayed a message regarding a missing external link. I could not find such a link (and location in file) using many suggestions and tools (Kutools, FormulaDEsk etc.).
Finally, I changed the file from xlsx to zip, opned and searched and deleted the gokder relating ton External Links (and changed back). Problem solved!
We have formula in xls file as below
='SharePoint_FilePath/[ExcelFileName.xls]SheetName'!$B$4
For e.g.
='http://SharePointServer/Sites/SiteName/Shared Documents/[ExcelFileName.xls]SheetName'!$B$4
Once we download this file containing above formula, then it automatically appends local path to formula i.e. New formula will be:
='Download_Path\http:\SharePointServer\Sites\SiteName\Shared Documents\[ExcelFileName.xls]SheetName'!$B$4
I have tried to search on google, found some hints like as below:
Use UNC path for referring to another xls, instead of web url
path.
Uncheck "Update links on Save" in excel options.
But those are also not working.
Can anyone suggest any recommended way?
Thanks
In my user environment, we asked them to use Map Folder to SharePoint Portal and use consistent drive letter for the mapping.
Despite this, it is not good to do referring like that. It should be all in one Excel file. Links like this is easily broken (e.g. change of file name or moving to another folder) and very hard to maintain.
Should avoid doing that.
I have a workbook called Expenses Sheet.xls located in R:\LGS\FINANCES\. Lots of people refer to it and often save a copy so they can manipulate the data. There is an autosave macro in the original file, saving to a fixed location. Is it possible to delete all macros in the new (save As) copy, so the new copy does not have the macros contained in the original expenses Sheet.xls? This would stop all and sundries' copies being saved in my backup file as is currently happening.
First of all, theres nothing in your Excel file that executes when the file is being copied. At most, you'd be able to hook into an event which disabled or removed the macros when people saved the document somewhere else, from inside Excel, using the "File->Save As..." menu item, but if they drag and drop the file using Windows Explorer, you're out of luck in that regard.
However, have you thought about simply making all those macros check if this is actually the document that is supposed to be saved in that place?
Like this (note, I'm altogether unfamiliar with Excel macro syntax at this point so this will probably be wrong, but you should get the idea):
IF NOT DocumentLocation = "R:\LGS\FINANCES\ThisSpreadsheet.XLS" Then
Exit Sub
END
This way, the macros are still there, and will still execute, but they will essentially do nothing for everyone else.
Would that be an acceptable solution for your case?
Lasse V. Karlsen's suggestion is spot on, the exact syntax could be
If Not Left(ThisWorkbook.Path,16) = "R:\LGS\FINANCES\" Then
Exit Sub
End If