Spacebar not working at end of the line in Excel VBA Editor

百般思念 提交于 2021-02-08 03:35:45

问题


I moved my personal.xlsb to my new laptop and I am having a strange issue.

  1. The spacebar is not working at the end of the line except it's a totally empty line.

Example 1 : Not working example | Not working

example1

Example 2 : Working example | Would work

example2

  1. When I was pressing the spacebar, the text select pointer didn't move, but the position indicator is blinking between the original position and (col+1).

Pointer position indicator image

pointer position indicator image


回答1:


I had the same issue. I found if I turned off AutoSave, it worked fine. If I opened a new workbook that had AutoSave turned on, the issue would come back until I turned off AutoSave.AutoSave toggle




回答2:


So I had this exact same problem on my Personal Workbook. I found that if I create another module in the active workbook, for whatever reason it fixes the error.

FYI, for some reason, I have to then save the active workbook as a macro-enabled workbook and then if I open another workbook the problem doesn't persist.



来源:https://stackoverflow.com/questions/51883734/spacebar-not-working-at-end-of-the-line-in-excel-vba-editor

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!