I can't resolve this issue, I found a similar question here but:
setting the workbook to Manual calculation (alt-m-x-m or alt-t-o>formulas) didn't work
Setting editor options to disable: Auto syntax check & Background compile didn't work
anybody have any idea how to fix this very annoying behaviour, I'm used to quickly pop up VBA (alt-f11), f7 to get into code and write some quick procedures there... and it's hard to get out of that habit, I don't want to write any office extension to just add a single quote to every cell in the range
For Each rg In Selection
rg = chr(39) & rg.value
Next
F5, done...
I had this exact problem and the following worked for me.
1.Click the Microsoft Office Button, and then click Excel Options
2.Click the Add-Ins category
3.In the Manage box, click COM Add-ins, and then click Go.
4.Look for an add in called 'Load Test Report AddIn' then uncheck it
5.restart excel
This addin is installed with VS2010 Beta2
I'm using excel 2010 and face similar problem. When I hit space bar, editor removes the space and put cursor to end of last character. Tried unchecking add-in coms without resolution.
"In Excel 2010, toggling Design Mode button on the Developer Ribbon Tab solves the problem for me."
Or in vba editor, CLICK on Design Mode button (icon with pencil) to enter design mode. From the Run menu, select "Design Mode".
Got it from this link:
https://social.msdn.microsoft.com/Forums/office/en-US/3353f2d3-7e92-424b-934c-0eedd21b9a90/excel-2010-vb-editor-auto-deleting-spaces?forum=exceldev
Winword VBA IDE works fine, so it's only in Excel for the moment.
I have tried re-installing, I have tried the Excel options > Resources > diagnostic tool which reported that it fixed 1 issue but the problem remained.
The problem effectively seems to be that the Visual Basic Editor compiles every second (or less) and removes spaces.
An ugly work around is to put a single quote after your cursor and it won't remove the spaces, but that's just silly.
I'm currently waiting for the Office 2007 Enterprise "Change" > "Repair" to finish & test it again, else I'm going to stick with the single quote.
I've hit this issue too, and for me it was related to an Excel add-in which would explain why you're not seeing it in the Word VBE. Try going into the trust center and disabling all application add-ins - if that fixes it, then you can work out which is going wrong by a process of elimination. In my case, it was the Load Test Report Addin which installs with VS2010 beta 2.
I've had this problem recently with Excel 2010. Toggling Design mode didn't work and I didn't have the 'Load Test Report Add-In'. However, I had a couple of other Add-Ins and it was one of those (Jive for Office) that was causing the issue.
So in 2010 you should go to File>Options>Add-Ins. At the bottom of the dialog box in 'Manage' select 'COM Add-Ins' and click Go. See what's in there and unselect each in turn. For me, the result was instant - I didn't even have to restart Excel.
Related
Recently I've stumbled upon a strange behaviour of VBA. In my Microsoft Excel Macro-Enabled Worksheet I have several sheets, with one named "Log". While I was debugging a code, I added a new watch with an expression Worksheets("Log"). When I click on the + box in front of it to expand the expression, Welcome to Outlook 2016 wizard pops up?!
On each subsequent click on the expression, New Profile window pops up.
Funny thing is, I don't even use Outlook and it alone cannot be uninstalled from the system and rest of the Office package. So, what is happening here and how can I prevent this strange behaviour?
I have it too, also when I have the watch set to a page of the worksheet.
It seems to happen when I forget to activate the sheet before I access it. After doing that the Macro and watch behave as expected.
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 have opened an excel file containing VBA password protected (not belonging to me) and from that moment on what happens is that the code remains in the VBA editor even if I close ALL the files (see atteched pic)
Such filed was called treelist and in the VBA editor "solver.XLMA"
Put in other words. Whatever excel of mine I opened now with or without vba code once I click "editor" the first thing I see is that "solver.XLMA" that I can not access nor delete. It is really anoying because I dont know what this code is doing.
(note: yes, I closed excel several times and opened it again. solver.xlma was still there)
As you see in the picture the "solver.xlma" stais even if I close all the excel workbooks.
Some idea of how can I get rid of it and what is going on here?
thx
It is a solver add-in. To turn it off:
Click the File tab, click Options, and then click the
Add-Ins category.
In the Manage box, click Excel Add-ins, and then click Go. The Add-Ins dialog box appears.
In the Add-Ins available box, clear the check box next to the add-in that you want
to deactivade (Solver), and then click OK.
This is the answer:
That's the Solver Add-In. Go to File > Options > Add-Ins, then click Go beside "Manage Excel Add-ins". Uncheck the Solver Add-in and hit Ok
I wanted to make a Macro in Excel 2016 (under Win 10). I chose the "Record Macro" button. After opening the floating window and making a name for the macro, I click on the "OK" button. After that, the Excel goes to hang mode.
on the other hand, the button "Use Relative Reference" in Developer menu does not work and it's highlight always.
Shortly, I can not make a Macro in Excel 2016 under Win 10, any advice is appreciated.
Thanks Guys ...
I found the solution to this issue! ... I did a click on the "Reference ..." in VBA Developer in Excel and I get this message: Unrecognised Project Language then I went to the Regional Setting and I cleaned up (uncheck) the Beta: Use Unicode UTF-8 ... Now the VBA work correctly.
The Excel shortcut of Ctrl + Shift + 4 is supposed to convert selected cells into the currency format. However, mine prompts me that "Data on the Clipboard is not the same size and shape as the selected area. Do you want to paste the data anyway?" and if i click OK, it replaces the contents of the first selected cell with a € symbol. If only one cell is selected when I perform the keystroke, that cell's contents are replaced without the prompt.
I've tried to reset my regional settings and formats but nothing has worked. Googling only produced one legitimate question which was responded with a troll answer. I'm hoping someone here might have experienced (and fixed) this before.
This is on Windows XP and Office 2003 with no add-ins.
There are probably some programs running, or macros imported in your office program, that use the shortcut Ctrl + Shift + 4. A few possible solutions:
Enable the developer tab (File > Options > Customize Ribbon > in the right hand box there should be an unchecked box named Developer > check it on > click OK.) Afterwards, check your macros. IF there are any, they could be causing the problems.
Or you could also try to change your shortcut to something else. Go to Excel Options> Customize> Keyboard shortcuts Customize. Then find the applicable command and change it to something else.
What is the number format in the workbook's Currency Style (Format|Style)?
More recent versions of Excel with the ribbon bar have this under the "number" drop down on the Home ribbon
Make sure the Symbol is listed as $
Are you sure that it is the shift is the key being sent, the result you describe it what happens with Ctrl + Alt + 4
It seems there is no solution to this question and I gave up trying after a few months. Removed my Office 2003 install and replaced it with Office 2010 instead, which fixed the problem. Appears there were no background processes involved, probably just a faulty Office/Excel install.