XLA file not saving in Excel 2010 - excel

I'm using Excel 2010 and I have a .xla file with VBA macros, I edit the macros with the VBA editor, then save it. Later when I reopen the .xla file my changes are lost. On the internet I found other people with the same problem, e.g. MS-Excel VBA file (XLA) saving problem, but not solution.

please try to save it in the VBA-Editor. This ist what I have to do with xlam-files.

Related

How to get VBA code out of an old xls file

I have a problem with opening an old excel file with VBA macros. It looks like some of the VBa libraries are no longer used in excel 365.
While opening I get an error:
Opening the VBA project in this file requires a component that is not currently installed. This file will be opened without the VBA project. Fro more information, search Office.com for "VBA converters"
I struggle to install those libraries on my PC, but in the meantime I wonder if there is any workaround to get the VBA code out of this file.
Thanks in advance!
EDIT:
I attached mentioned file.
https://docs.google.com/spreadsheets/d/1msKl4kZANwwOTcqkDDb6pUjaaYkZ57lS/edit?usp=sharing&ouid=105093812803215551016&rtpof=true&sd=true
You can solve your problem when install office2003 and save it to microsoft office excel workbook(*.xls)
Link for office 2003
Your file after convert
Thanks for Mr.Yasserkhalil

Disappearing Macros

I have searched on the internet to see if I can find any references to these problems without success.
Occasionally, in Excel 2016 or Excel 2019 I open a macro-enabled workbook and discover all macros within the file have disappeared. This is despite enabling the macros when the workbook is opened. I determine there are no macros available by selecting Macros on the Developer Tab. No macros will appear in the macro dialog box. In addition, although a number of macros are linked to buttons within the file, I will try to use these and none will work.
If I save, close and re-open the workbook in either of these versions of Excel the macros still do not reappear. However, if I re-open the file in Excel 2010 the macros are available with all working as intended. If I save the file in Excel 2010, close it and then reopen it in Excel 2016 or Excel 2019 the macros will have reappeared.
Occasionally, and again in Excel 2016 or Excel 2019, when I open one of my more complex, macro-enabled files it will not open correctly and instead Excel indicates it is corrupted and requires repairs. I do not allow Excel to make the repairs and instead close the file, reboot Excel and try reopening the file. Again, Excel will indicate the file is corrupted and attempt repairs which are not accepted. However, if I switch to Excel 2010 and open the same file no problems are encountered with the file opening normally. Once it has opened, if I then save the file in Excel 2010 and close it, the file will then open normally in Excel 2016 or Excel 2019.
Might you have an answer to why this is happening?

VBA Module disappears after saving Excel workbook

I was just introduced to VBA. However, on saving my first excel file with VBA code, with .xlsm extension (I was advised to do so), and then reopening that saved file, I realized that all the VBA code had disappeared and the cells in which I had used the user-defined functions threw errors. Saving the workbook as .xlsx instead of .xlsm also didn't help. When I tried saving the VBA module, it showed that FUNCRES.XLAM is read-only and hence cannot be modified, and so try saving it at a different location. Doing so, saved an excel file which on opening showed a pop-up message that it's corrupt so can't be opened. Then I gave all permissions to FUNCRES.XLAM and it is NOT read-only. But the problem still prevailed. What should I do? Can someone please help me?
PS: It is Windows 10, Office 2016.
Your VBA code needs to be saved in a module within the same workbook in which you are working. This will probably be listed as VBAProject(Book1)
There will likely be other projects listed in the Project Explorer window of the VBA GUI, but your code will not get saved with those modules.
These are related to add-ins, and not to your workbook.

Excel 2013 VBA : when .xlsm file is open- impossible to open any other .xlsx file

I'm developping a .XLSM file as a Client to a .XLSX file as a "Server".
Whereas the Client is open, I cannot launch another instance of Excel 2013 by double-clicking on any .XLSX file.
It seems to put the focus back on my Client .XLSM file.
Do you have any tips to solve this ?
I'd like to avoid to install an alternative Spreadsheet program.
Thank you.
Regards.

Send an email with a excel file that includes a macro

I created an excel file where I added some buttons that I connected to different macros. I want to send this excel file to a collegue but when he opens this file the button gives an error:
Cannot run the macro "macro-name". The macro may not be available in this workbook or all macros may be disabled.
Is there a way to include or insert macro's inside the excel file?
[I use Microsoft Office Professional Plus 2010]
Found the answer myself, sorry:
Save as.. "Excel Macro-Enabled Workbook (*.xlsm)

Resources