Excel sharing with multiple users without getting locked - excel

I've an excel sheet in the OneDrive. The problem is it doesnt allow to edit in excel if someones already using the online feature.
This may sounds dumb but is there any work around to make this possible other than saving it to another location and re uploding to the onedrive?
The problem is some excel sheets contain more than 15, 000 rows and its really laggy when we try to edit in browser. Also advanced sorting methods arent in there. So were entering to the edit in excel mode and opens in read only mode or saving to local folder and re-upload.

check this... https://support.office.com/en-us/article/collaborate-on-excel-workbooks-at-the-same-time-with-co-authoring-7152aa8b-b791-414c-a3bb-3024e46fb104
Why am I getting the "File is locked" error?
There are a handful of reasons why this error can occur. The most common one is because someone has opened the file with a version of Excel that doesn't support co-authoring. If just one person does this, then everyone else will get the "locked" error — even if everyone else is using a version of Excel that does support co-authoring.
Versions of Excel that support co-authoring:
Excel 2016 for Windows*
Excel 2016 for Mac*
Excel Online
Excel for Android
Excel for iOS
Excel Mobile
Co-authoring in this version requires the latest version of Excel installed, and requires you to sign in to Office with an Office 365 subscription account. Please note that if you have a work or school account, you might not have a version of Office that supports co-authoring yet. This might be because your administrator hasn’t provided the latest version to install. Or, if you're using Excel 2016 for Windows, it might be because your company or school is on the Semi-Annual Update Channel. You can tell if you are on this channel by going to File > Account. If it says Semi-annual Channel next to About Excel, then co-authoring isn’t available yet for you.
If you are still getting the "locked" error, see Excel file is locked out for editing for more solutions to this problem.

Related

Why does the VBA Excel Addin code disappears and doesn't function after I close Excel and open a new Excel file?

I created a simple vba addin that colors cells based on their value, and I created a function that calls it with a shortcut then I saved it as an Excel addin and added it to Excel.
The problem is the addin works fine when I add it the first time, but when I open a new Excel file, I need to disable and enable the addin for it to work.
Update: I tried it on another computer and it works, but it shows an error that when I ignore it works fine. I am adding screenshots for the error and code
Error Message
Code
Sometimes, Excel will open workbooks in another Excel Application. This second application can sometimes face some issues with addins. You should double-check that the new file is opened in the same Excel Application. By looking at the task manager:
In this example, I'm using Window 10 and you can see that Book3.xlsx is in a different Excel Application than Book2.xlsx and Book1.xlsx
EDIT:
This question could also be of interest to you. The accepted answer reads:
This problem results from security patch in KB31152, released in July 2016. According to private communication with Microsoft software engineers:
"With this update, we changed the behavior of Excel so that it will
not load certain file types (including .xlam) when they are untrusted.
The easiest workaround is to find the add-in that is causing you
trouble, right-clicking on it in Windows Explorer, and checking
Unblock"
An easier approach is to simply place the add-in in a Trusted Location
(in Excel, go to File > Options > Trust Center > Trust Center Settings
Trusted Locations), such as the following folder, and load it from there:
C:\Users\%USER NAME%\AppData\Roaming\Microsoft\Excel\XLSTART
EDIT2:
And don't forget the option of just restarting your computer just to make sure that the problem is still there.

Ribbon editing option greyed out in Office Home and Student 2016

I just installed MS Office Home & Student 2016 edition on my Mac. Bringing up one of my Office 2016 PC files shows the main button on the front sheet in edit mode (clicking it does not fire the underlying macro). I have no buttons in the ribbon that allow this to happen. What's worse, though, is discovering to my horror that I cannot enable developer mode in this version. There is no apparent upgrade path: to upgrade to 2019 or Office 365 means a new purchase.
Nothing in the documentation indicated that this was going to be a hobbled version of Office. Does anyone have a solution to this?
Thank you for your consideration of my little conundrum.
An Update:
In case someone else is curious about this, I did get an answer from a very helpful Jim Gordon MVP on the Microsoft site. He said:
Are you saying that you don't see the Developer tab of the Ribbon? If so, go to Excel > Preferences. I think there's a checkbox in 2016 on either the General tab or the View tab that you can check to turn the Developer tab so it displays.
Controls being disabled can be caused by certain factors. One is that you have a subscription and it expired or is not activated for some reason. I don't think this is the case here, because I suspect you have some other kind of license for Office or you would most likely be using Excel 2019.
Controls can be disabled if the file you're working on was saved in an old format or by a non-office application. For example, many features of Office are not available when the file is in old .xls file format. Even if it was saved in .xlsx file format by an app such as LibreOffice, features are disabled and the file opens in "compatibility mode." In all these cases you can get functionality restored by using File > Save As and saving using a current file format (.xlsx .xlst .xlsb .xlsm etc)
Very useful. I will get stuck into some rudimentary Excel 2016 Mac tutorials now as this is definitely not your grandfather's Excel (2003).

Cannot start matlab through spreadsheet link ex 3.2

I recently installed the spreadsheet link ex add-in on my excel 2013, but it doesn't work. When I try to choose the option 'Start MATLAB' from MATLAB field in HOME Ribbon it gives me an error:
'Cannot run the macro 'ribStartMatlab'. The Macro may not be available in this workbook or all macros all disabled.'
The same thing happens with any other MATLAB command chosen from excel.
I chose the option 'Enable all macros' in the Macro Security Settings and also checked the box 'Trust access to the VBA project object model'.
I also checked the SpreadsheetLink2007_2010 reference in the VBA->Tools->References (none other is available).
I found some information that the version of SP for Office might be put to blame but I checked and it seems I have the latest version of SP1 for Office 2013.
The exact name of the add-in is 'Spreadsheet Link EX 3.2 for use with MATLAB and Excel', the Office version is 2013 Proffesional Plus, and the MATLAB version is 2013b. Any help or tips greatly appreciated.
this is more of a guess than anything else. But I'm guessing the ribbon/macros use activeX control. at the end of last year there was an update to excel that disables activeX, which usually results in strange performance or code breaking with very cryptic error messages. It's a bit complicated to get it to work again, but here is a post that might provide some insight http://blogs.technet.com/b/the_microsoft_excel_support_team_blog/archive/2015/03/11/forms-controls-stop-working-after-december-2014-updates-.aspx
again, this is really a guess, I don't know for certain the matlab commands use activeX but it's worth looking into

Excel's add-in: Cannot find Reference or Library

After finishing an add-in I started testing it on other computers. There is this one computer that I get the following message:
Can't find project or library
Note: This computer is running Excel 2010 and I've tested it successfully only on Excel 2013 computers. They both have the same references as shown bellow:
Prompt me if any other information is necessary:
MS Office 15 is the library of code that is delivered with office 2013.
As your code is using early binding (google it), you need a reference to a library that has the same code for your code to use when working with 2010.
Older version of excel came with an older library that has an older version of the same code (with some extra bits too). You need to change the reference in the file when using the workbook on older version of excel OR change your code to use late binding.
It might be easier for you to simply change the reference and save the file as "Myfielname 2010version" and use this copy with excel 2010 and a different file with excel 2013.
Excel 2010 library will have the same name but with a different number (eg 13) and you will find it further down the list.
You can add code that detects the version, but you don't want to go there.
First I've just realized the reference list is for each workbook/add-in and not for the system as a whole. There was a missing reference to the solver add-in on the other computer. VBE doesn't run the project with a missing reference. I will post how to automatically check and add it here when I find out How.

Personal Macro Workbook has gone missing (AGAIN)!

I don´t understand why, but it´s the second or third time I've lost my Personal Workbook with all my macro copies. The only different thing that I've done was editing a macro but, when excel was closing, I haven't saved the changes. Next time I've opened excel, surprise, surprise, no Personal Workbook! Has anyone had the same problem? Does anyone know why it happens? I have already searched in (I believe so) all possible folders where It could be stored.
Thanks!
the file can be found for 2007/2010 users in :
C:\Users\User ID\AppData\Roaming\Microsoft\Excel\XLSTART
or somewhere similar for others.
Hope this helps
The folder where the personal macros are saved can be found by using the command:
?Application.StartupPath (without "" sign) in VBA.
Open VBA (ALT+F11) and enter the command in the field on the bottom.
Hope this helped
Using Microsoft office 365. Lost Excel and Word Macros during last update. Had an Excel File that I had copied to my laptop (Windows 10) which had not been updated. Brought it up on my desktop. Was able to see modules but no content. Was unable to remove modules. Uninstalled Office 365. After reinstall, was able to see and use macros from that file. Word macro not retrieved. Hope it helps someone.
Mine went missing completely and was not in the xlstart folder. I finally discovered it was because I'm on a work server, files are all network storage based, and I had just changed my network password. I think the mis-match caused my links to personal files to be temporarily broken. I logged out completely, and back in, and everything was back where it should be.
In short: I tried turning it off and turning it back on again.
For those using MacOS / OSX (El Capitan) with Excel 2016 I located my copy of Personal Macro Workbook.xlsb, which I had previously unhidden in Excel, then closed, in the following location:
~/Library/Containers/com.microsoft.Excel/Data/Application Support/User/Personal Macro Workbook.xlsb
Please note that I used multiple search functions within OSX which did not return this file in the search results for some reason.

Resources