I have a problem with Excel that occurs multiple times a day and is totally random. Whenever I have multiple excel workbooks opened and I try to close one by right clicking the icon on the taskbar and clicking "close window", instead of closing the file it will open a random saved excel workbook. The workbook then gets automatically pinned. It doesn't get pinned to my taskbar but when I right click an excel file it gets pinned above RECENT.
Has anyone have this issue before? I can't seem to find a solution and it is bugging me a lot since it happens frequently.
I am using excel 2010.
Edit - The file that opens is always the same file. Even if I unpin it and go about my day eventually it will happen again and it is the same file.
Related
Suddenly I have a weird problem with my Excel app.
I've looked the internet and in this site, found similar problem but it seems their problem is because of some codes. While mine, there is no code at all.
At first, after I close my xlsm work file (which has some modules with the code), then I open the VBA editor, sometimes it gives me message box "Out of Memory", sometimes it gives me "catastrophic failure" message box, sometimes there is no message box, but one thing for sure, in the VBA editor it still show the workbook which I've just close.
Strange thing, if I open the Excel app first (which gives me a blank worksehet by default), then I double click my xlsm working file, then close it, then open the VBA editor, there never any message box and in the VBA editor also there is no workbook which I've just close.
So it happen only if I directly open my xlsm working file... or any other xlsm file which has a module, even a blank module.
It doesn't happen if I directly open (by double clicking) an xlsx file.
Curious, I open the Excel app (it gives me a blank worksheet by default), Insert a blank module in VBA editor then save the workbook as Book1.xlsm.
.
.
.
Then I close the workbook.... and I see that in the VBA editor it still has the Book1.xlsm there.
.
.
.
Then I just close the Excel app, and open it again. Then I double click the Book1.xlsm.
Close the Book1.xlsm, there is no Book1.xlsm left in the VBA editor.
.
.
.
Then I close the Exel app. I directly double click the Book1.xlsm
Close the Book1.xlsm. Again, there is still Book1.xlsm in the VBA editor.
I've tried to repair the Microsoft Office 2010 via Control Panel ---> Programs.
After it's done, MS Office ask to reboot. So I reboot. Directly double click the Book1.xlsm, close the Book1.xlsm. No joy. VBA editor still show Book1.xlsm left there.
Although I realize that maybe the last resort I need to do is to uninstall MS Office and then reinstall it back, but still I wonder, if anyone here know what cause this kind of problem ? What cause a blank xlsm workbook with a blank module - after it close, the VBA editor still show it ?
Why if I open the Excel app first, then open the xlsm file, the problem does not exist ?
FYI, all the subs in my working xlsm file can still run without problem.
Any kind of explanation would be greatly appreciated.
Thank you in advanced.
My macro-enabled workbook has been working fine until recently. It runs fine on my local drive, but no longer saves itself when run from a remote folder. I suspect some recent updates on the server are to blame.
If I open the workbook and press the save button, a pop-up appears with a progress bar for a second or two. This has not happened before, but the pop-up does close and allow me to continue.
When I run the macro in the workbook, the last line is ThisWorkbook.Save. The same pop-up appears and hangs. If I close the pop-up and press the save button, it also hangs now. If I choose File> SaveAs, all I get is a blank page with no folders to choose from.
I have a workaround to copy the workbook to a local folder, run the macro, then copy it back to the remote drive, but this may be difficult for my users to handle.
I made a new workbook with a macro that only calls ThisWorkbook.Save from a single button, and this works fine. The problematic workbook gets data from csv files and copies it into itself. Maybe this is causing a problem? Maybe the macros are too large for the anti-malware software to handle?
Does anyone know what recent changes have been made to Server that would cause my old macro to hang on saving?
I got the macro working, but not sure why.
The problem arose with an inefficient way to merge data from two sheets together. I had been using Find, and changed it to march through the data row by row instead. The saving window still pops up, but only for a second.
I don't know exactly why the old method prevented the workbook from being saved. The main difference is that the Find method uses objects, while the method I changed it to use integers and compare cell contents with an if statement. Maybe the memory was being filled with orphaned objects? I don't see what difference that should make when saving the file. The data in the sheets being saved is the same.
If anyone knows what difference this would make in saving a workbook, please add and answer or comment for posterity. It might help someone with a similar problem.
I have a spreadsheet stored in a central server at work with several macros in it. When I click on Developer-->Macros, the list of macros has disappeared, and the "create" button remains greyed out even when I type in a new macro name. The macros still appear in the "Module" list but clicking on them brings up a blank window.
However, when I make a copy of the file, paste it to my desktop, and rename it, the macros reappear.
In a final bizarre twist, when I then copy and paste that newly renamed file back to the work server, the macros disappear all over again.
Anyone have any idea what might be going on? My usual bag of tricks has failed me and I am close to restoring the file to a previous date.
My Excel file had a load of macros and now when I click Developer - Macros, they don't show up in the list, the list is empty. How do I fix?
Hi this has 100% worked for me in all situations, if it is a macro file (in my case at least).
Open the file in protected mode (usually I save it on the share network so it prompts me to "Enable Content"). You must make sure you're in protected mode so no macros/libraries are activated.
DON'T ENABLE CONTENT
Go to Developer, Visual Basic, then click on "Debug" and click on "Compile VBA Project".
Save the file -- > Close - - > Reopen.
I have seen this happen multiple times, and eventually found a fairly easy solution.
To first summarize the problem, we have an excel workbook with macros. After saving and latter reopening the workbook, the macros are no longer there. Even selecting alt F11 ,fails to show any macros, even though macros are enabled in trust center.
The solution which has worked for me each time is to simply do the following.
Copy the Excel file to a thumb drive, and then open on a different computer. When the file opens, you will see an option at the top of the worksheet to Enable Functions. Click yes. At this point you can click alt F11 to verify that your macros are there. Assuming they are (this has worked for me every time), simply save the file, and then save back to your original location. When you open the workbook yur macros will be visible.
Good luck, and keep Excelling.
An even easier solution that has also worked for me 100% of the time is to open the file normally, and instead of clicking “enable content,” use shortcut alt f11 to open the VBA window. You should see your macros, save the file and reopen and “enable content” should work fine.
Surprisingly easy way to get it back.
Without the file open, right click on it.
Click on RESTORE PREVIOUS VERSIONS
It'll give you a list of previous days copies. Just try opening one of the ones from a previous day that the macro worked. The missing macro appeared in one of those for me when I opened it.
I had this same issue, but I was not able to open the modules in the VBA editor. I solved it by emailing a copy to myself, then opening it from outlook (with macros disabled). Then I compiled the VBA and saved it. The macros are back :)
I am using Excel 2010 and am having difficulty with one old workbook created in Excel 2003. Lots of symptoms to report!
No other workbooks are giving me this problem. This problem file usually causes "MS Excel - (workbook name.xls) [Compatibility Mode] (Not responding) and a blank screen apart from the task bar and this Excel message on a single line across the top of the screen. Waiting doesn't solve the problem. If I close Excel and choose the "Close program" option, it sometimes shows me the file as I remember it for a couple of seconds, then the program closes. Re-opening the file just gives the same behaviour again. During the first few seconds of loading, I can see the message "Contacting server for information" at the bottom of the Excel screen.
In Task Manager I can find EXCEL.EXE *32 running. I'm using Windows 7 Pro 64 bit.
This is a file I use regularly in projects as a specialised calculator, and so I re-copy it each time and save it to save the calculation records in the project file. I've found that versions of the workbook created even several years ago and have given no trouble until now all suffer this problem, so it looks like a problem with Excel 2010. This is the first time I've tried to open these files since migrating from a Win XP computer running Excel 2003.
Please can anyone help me to open the file and to resolve the problem?
Thanks
There might be a calculation or a marcro activated on start up that messes things up.
Try the following:
Open the Excel application, with a blank workbook. Set calculation to manual. Now look up your Macro settings and set these to "disable with notifications".
With these things set, open your misbehaving workbook again and see what happens now. Dont let the macros (if any) start yet! Open the VBA Editor window and check for a script in Workbook called Workbook_Open. If that is present check its content or put a break in and debug it.
Let us know what you find, if any.
UPDATE:
It sounds like there is a database link to an external source that is trying to refresh on startup but isnt working correctly (anymore). I now remember likewise behaviour when I had an Excel workbook with tons of SQL queries in it that (in case of showing a complete table or view by applying SELECT * FROM ...) could overlap other data and that would create autoshutdowns for me. Change the option in the Trust Center for External Content to Disable when you open this workbook and let us know!
I have a client with the same issue. The problem was resolved by removing all the logo's (Images) from the sheet. It appears that the logo contains a link to some web site. I copied the logo into paint and copied it back.
Problem Solved!
It appears that an object placed in the sheet can have its own links embedded in it???
I hope this helps!