Quantcast
Channel: Excel IT Pro Discussions forum
Viewing all articles
Browse latest Browse all 11829

Excel makes sound when opening if Office Clipboard disabled

$
0
0

Hello All,

We completly disabled Office 2013 Clipboard using the below registry which indeed improved about 20% of performance when working with Excel sheet contains macro codes which interacts with Clipboard and also improve overall stability of Excel when performing large amount of data manipulation through Clipboard.

[HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Common\General]
"AcbControl"=dword:80000000

Since we have patched all workstations with October 2016 patches, some computers started make default beep sound when opening Excel 2013.

After investigation, we found that noise is caused when Microsoft Team Foundation Add-In and after disabling it from COM Add-In, the sound is gone.

Image

We also observed, this issue does not happen when enabling Office Clipboard (by removing the above registry key).

On per investigation, the issue seems to occur when calling the MsoCommandBar execution. Below contains the steps to reproduce the issue that one of our developper found as we are facing the above sound issue with one of inhouse built Add-In:

  1. Turn on volume for your computer.

  2. Start Excel.

  3. Press ALT+F11 to open VBA editor.

  4. Go to the Immediate pane/window (if you don’t have it, press CTRL+G)

  5. Paste this line:  print CommandBars.FindControls( ,23).Count

  6. Press Enter.

On my computer, this will raise the “ding” sound.  The ID value (second parameter) doesn’t matter, you can enter any number corresponding to an existing control (e.g. you can try 2, 3, 19, 2188, 5958 or hundreds of others).  The .Count property doesn’t matter either.  Using any properties of the CommandBars.FindControls method will make the noise.

We have other solutions such removing the default sound then that would affect globally any other applications. Of course, we could ask users to mute the sound if this causes distrubances but that is less user convenient solution.

Anyone has any solution knowing that we still want to completly remove Office Clipboard please?

Thanks in advance

Sutha




Viewing all articles
Browse latest Browse all 11829

Trending Articles