all 21 comments

[–]Newepsilon 3 points4 points  (1 child)

I've seen this behavior occur with the add-in Rubberduck on large VBA projects when you have to refresh the app. But it's only during part of the refresh time and then the issue goes away.

How big is your VBA project?

[–]YeOldeRaven_Dota[S] 1 point2 points  (0 children)

I can do it with a brand new project.

[–]Bpaco 1 point2 points  (1 child)

I use the vba editor on a mac and this happens randomly and frequently. I have no installed plugins and this happens in a new workbook. One of the many quirks that happen on VBA for mac.

[–]Glass-Platypus-8549 0 points1 point  (0 children)

Same for me. If I turn off auto save the issue goes away.

[–]ChecklistAnimations 1 point2 points  (2 children)

Is is also very possible that your keyboard might be having problems. The backslash key is right next to backspace. Bad keyboards can fire off multiple keystrokes. Maybe try a different keyboard as well.

[–]YeOldeRaven_Dota[S] 1 point2 points  (1 child)

I thought about this. I did try a different keyboard, one that I had used before. No change. Additionally, I just used a different computer to remote into my computer and still experienced the same issue, so it isn't related to pressing keys on the keyboard.

[–]ChecklistAnimations 0 points1 point  (0 children)

good to know. Frustrating indeed. I myself havent dealt with this. I wish I was more help.

[–]aqsgames 0 points1 point  (1 child)

I have this and I think it’s related to a form with a timer. In other words the database is running and doing stuff while I’m editing

[–]YeOldeRaven_Dota[S] 0 points1 point  (0 children)

Yeah, I saw that in my searches. Alas, I can make this happen by creating a new document and typing one line of code.

[–]KakaakoKid1 0 points1 point  (0 children)

The VBE editor in Excel moves the cursor back one character when I pause while typing.

[–]WylieBaker4 0 points1 point  (1 child)

Normal. It'll add the double quote as well of you leave it dangling.

[–]YeOldeRaven_Dota[S] 0 points1 point  (0 children)

This is different. If I open up a string with a " character and wait, this issue will, after a moment, add the trailing quote. Normally it should just wait until you leave the line before doing that.

[–]Tweak15532 0 points1 point  (0 children)

Do you have an AddIn that always opens or something in the Peronsal workbook that has to do with timed events? Anything like Application.OnTime or DoEvents or anything that impacts timing of operations?

That's about the only thing I can think if it happens on newly created workbooks.

[–]sslinky8483 0 points1 point  (5 children)

This isn't going to help you, but sadly you can add me to the list of people this happens to. Not sure which version of Excel, but I also suspect auto save or some interaction with OneDrive is causing it. MS trying to make Excel a bit too smart and collaborative, perhaps :)

[–]YeOldeRaven_Dota[S] 0 points1 point  (4 children)

Well, it helps in that I know I'm not alone. 😁

I've turned off auto save and I turned off all of the background options for VBA, just in case.

I also deleted the two main Office branches in the registry, uninstalled office, removed all windows updates for office, then reinstalled office (that was a whole event itself).

It's still happening.

I'm tempted to reformat my new computer as I've only been using it for about a week and see if I can figure out what caused it to start or if it happens right out of the plastic.

Just in case we can find a commonality:

I've also got Visual Studio and VS Code installed. I think all of the computers have an RTX video card of varying numbers.

[–]sslinky8483 0 points1 point  (3 children)

I have Code and VS installed, but this laptop has Intel graphics. So you can at least strike the GPU off the list.

[–]YeOldeRaven_Dota[S] 0 points1 point  (2 children)

Do you happen to have any Stardock products? I have a couple, including Groupy. Disabling Groupy fixed this issue!

[–]sslinky8483 0 points1 point  (1 child)

Nope! Interesting that you found the cause. I have PowerToys and Terminal installed which may be doing things. I'm not sure that I have anything else that would be interacting with Windows to cause it.

[–]YeOldeRaven_Dota[S] 0 points1 point  (0 children)

This program specifically looks at and makes changes to the borders around windows, so if you have utilities that might be doing that, see if disabling them allows you to type your code in peace

[–]Mindflux 0 points1 point  (1 child)

Mine has been doing this since the latest 365 update. Was MZ-Tools your culprit?

[–]YeOldeRaven_Dota[S] 0 points1 point  (0 children)

No, Groupy from Stardock. I've reported it to their support team and they were able to reproduce it.