annoying beep in ms excel when switchin between workbooks - excel-2007

For some reason, MS Excel 2010 makes a beep when I switch from one workbook to another in the same instance. It doesn't matter if I alt-tab or mouse click. Does anyone know how to turn this off? I have searched the internet and found similar complaints but no solution as of yet.

Found this answer and it worked:
In Excel go to File > Options > Add-ins > On the bottom drop-down, select Manage "COM Add-ins" > Click 'Go'
Remove the Add-in listed and sound is gone

This appears to be a bug in Excel but the specific sound event can be disabled in Windows.
Control Panel > Sound > Sounds tab > Default Beep > set to (None) in the drop down.
Another workaround is to open Excel workbooks as separate instances.
Right click on Excel on the task bar > select Microsoft Excel 2010.
This has the added benefit of letting you see workbooks side by side but precludes the ability to use advanced copy between workbooks (such as copy Formatting or Transpose).

I have not been able to find an answer as to why it does this for me also but I just went into my windows sounds and removed the sound that was going off and I never heard it again. I do not remember which one I turned off (I think it was the default beep) because it was on my old computer with office 2007. I would try trial and error and just remove that sound from that even.
EDIT
If you open up excel, Click the big button in top left and go to excel options at the bottom -> go to the Advanced tab -> The General section (towards the bottom), uncheck Provide Feedback with sound That will turn off the sounds when switching tabs.

On Windows 8, the following solution works. Go to Settings (by swiping the right side of the screen)->Personalisation->Sounds and make it "No Sounds". This mutes all system sounds except when you're playing a song, etc. or more generally, when a program intentionally generates sound.

I tried Misc's solution of disabling a COM Add-In in Excel. I tried the most useless looking COM Add-In listed on my machine, which was the Acer Cloud Excel Add-In. I unchecked it and the sound was gone.

Related

How do I stop MS access breakpoints in vba editor from disappearing after clicking "Compact and Repair Database"?

I'm new to Microsoft Office Professional Plus 2013 Access.
I am developing an application using:
-Microsoft Office Professional Plus 2013 Access
MS access breakpoints in vba editor disappear after clicking compact and repair
I've was searching the internet quite a bit in order to determine how I can prevent the aforementioned problem, but I could Not find any solution.
How do I stop MS access breakpoints in vba editor from disappearing after clicking "Compact and Repair Database" ?
All Breakpoints and Bookmarks will disappear upon executing "Compact and Repair Database". This is a built-in behavior and it cannot be altered.
The answer by Gene is correct.
As a workaround you can use the Stop command, which acts like a "permanent" breakpoint.
E.g.
If <unexpected error condition that you want to analyze at runtime> Then
Stop
End If
Instead of Stop, which may be a bit annoying, have a look at Debug.Assert, which will allow you to have a 'conditional Stop'

Can't find project or library - Reference option cannot be selected & modules are frozen

I have this problem occur regularly with different workbooks. The file opens with:
Can't find project or library
I press Alt+F11 to open the VBA editor. I try clicking on References in the Tools menu but it doesn't do anything. I try editing the modules but I can't see any code and the windows are frozen. See attached file.
This is a guess, but sounds like there is a macro is running on 'open' of your spreadsheet, but the library it needs is missing (due to early binding, and a missing reference, often due to a different version of office).
Turn your macro settings to 'ask before running' - in office 265,
this is file-->options-->trust center-->trust center
settings-->macro settings-->disable all macros with notification.
reopen the file, but Don't enable the macro
press alt+f11 to enter the macro editor, then look at tools--> references for the
missing reference and try and fix.
Save and relaunch your spreadsheet, and enable macros

Excel 2013 - ActiveX warning despite allowing all ActiveX in Trust Center

I have an issue I'm struggling with, and it bothers me to no end. However, I can't come up with a decent solution, so I'm turning to you folks for advice.
The problem is as follows:
I have a .xlsm file containing a few macros. The macros use Forms, and specifically they also use TreeView objects in them (through mscomctl.ocx). I have gone through the Trust Center, and set every setting to it's unsafest form (allow all ActiveX, allow all VBA, no 'safe mode' for web documents, etc etc...
I can open the file, but when I call the macro relying on forms, I get a warning message labeled 'Microsoft Forms', with the following error message:
This application is about to initialize ActiveX Controls that might be
unsafe. If you trust the source of this document, select Yes and the
control will be initialized using your document settings.
It both surprises me (I said to allow it all in the settings, didn't I?) and annoys me (well, not the first time, but me and my coworkers use it on a daily basis and it gets on my nerves).
Does anyone have a clue whatsoever as to:
1) Why this happens?
2) How I can avoid the message?
I'm open to both solutions on altering the Excel file, or settings I have to alter on local machines (<20 PC's).
Details:
Windows 8.1, running Excel 2013. The macro-code is 'safe', it's built by our company employees (myself included). Code is password-protected so can't be meddled with.
Try the below steps
1) Launch Excel
2) Click "File - Options"
3) Click "Trust Center"
4) Select "ActiveX Settings"
5) Modify "ActiveX Settings for all Office Applications" from the default ("Prompt me..." - see above) to "Disable all controls without notification"
We see same error in an Excel solution with a TreeView form-component on 64-bit Win7 and solution here is to re-register mscomctl.ocx
Bat-file code:
regsvr32 /U "C:\Windows\SysWOW64\MSCOMCTL.OCX"
regsvr32 /S "C:\Windows\SysWOW64\MSCOMCTL.OCX"
Regards

excel 2007 all commands/tabs disabled

I have a file that I have come across. It has a peculiarity that i have not been able to explain.
When the file is opened in excel 2007,all tabs and commands are disabled/grayed out. Even the protect/un-protect commands in the review tab are disabled. the file does not for a password on opening and does not contain any macros. This does not happen with any other file that I attempt to open. Can someone give me a lead as to what might be happening?
I figured it out.
If you press "Mark as Final" (Office button > prepare >mark as final), all commands and tabs are grayed out and disabled. There is an icon showing this on the status bar as well ( which I didn't notice earlier).
Clicking this combination again enables all relevant tabs.

Why does the VBA Editor open on its own sometimes?

I created a script in Outlook 2003 VBA that watches for new appointments, and sets them to tentative and no reminder as I create them. I find that seemingly at random, the VBA editor will open itself. It doesn't happen when I use the new script, but it did happen this morning when I un-hibernated my laptop, for example.
The editor doesn't pop up any runtime errors or highlight any lines in the script, it's just there as if I had pressed Alt-F11 to launch it. Sometimes I close other apps and see that it's been sitting back there for a while.
This behavior has only been occurring since I created this new script. Any ideas why this would occur?
As stated in, Microsoft Support Center:
"This problem occurs only if the Microsoft Visual Basic Editor window
is maximized."
Solution:
Un-Maximize Visual Basic Editor and close it.
And you are done!
If you have previously set breakpoints, it may be that you still have a phantom breakpoint. Try choosing "remove all breakpoints" and see if that clears the problem.
Check also that you have not chosen "Break on all errors" under options, and that your error handler is functioning properly.
Believe it or not, this is a known issue. Check out this MS Support link:
http://support.microsoft.com/kb/829059
I have the same problem and found it while I was looking for a solution. Since it gives no advice, I kept searching and came across your post. I will come back with an update if I find a solution.
The MS page linked by Jaquez hints at the answer; just make sure you don't run the editor maximized, and the problem should go away. If you restore it to a non-maximized state, then resize it to take up the whole screen, it should remember its position.
It's a pain if you only have a small screen, but on a normal large monitor it works fine, and solved the problem for me.
I have the same problem, except that it only occurs when I've gone in and unlocked the VBA project for editing and haven't restarted Outlook. It seems to open up when I get a new email (that's when my VBA runs) so basically I just have to restart Outlook and lock the project back up.
Sorry I don't know what's really causing it, but locking the VBA project should fix the problem...
My solution was to search for the .otm file of my VBA project. It was stored under data\microsoft\outlook. I closed Outlook and deleted the .otm file. Restarted Outlook and it was solved.
Just wanted to add that I was running into a phantom breakpoint issue with VBA in excel. Clearing all breakpoints did not work for me, but I resolved it as follows: Copy all content from offending module into a text file. Delete module. Re-create module. Copy back in all text. Save. Phantom breakpoint gone.