Excel: the Incredible Shrinking and Expanding Controls

前端 未结 30 2031
予麋鹿
予麋鹿 2020-11-28 04:51

Occasionally, I\'ll happen across a spreadsheet which suffers from magic buttons or listboxes which get bigger or smaller over time.

Nothing in the code is instructi

30条回答
  •  一整个雨季
    2020-11-28 05:20

    The fixes discussed earlier, programatically resizing/repositioning the Active X Controls after click events, or modifying the registry (with the D word LegacyAnchorResize), didn't solve the issue for me with Excel 2010/ Windows 7 64 bit.

    The solution for me was found here:https://support.microsoft.com/en-us/kb/838006

    For Excel 2010 the link instructs to:

    1. Exit all the programs that are running.
    2. Click Start, click Run, in the Open box, type regedit, and then click OK.
    3. Locate, and then click the following registry key:
    4. HKEY_CURRENT_USER\Software\microsoft\office\14.0\common
    5. On the Edit menu, point to New, and then click Key.
    6. Type Draw, and then press Enter.
    7. On the Edit menu, point to New, and then click DWORD value.
    8. Type UpdateDeviceInfoForEmf, and then press Enter
    9. Right-click UpdateDeviceInfoForEmf, and then click Modify. 10.In the Value data box, type 1, and then click OK.
    10. On the File menu, click Exit to close Registry Editor.

提交回复
热议问题