View Single Post
 
Old 02-05-2025, 11:22 AM
isabell44s isabell44s is offline Windows 8 Office 2019
Novice
 
Join Date: Feb 2025
Posts: 5
isabell44s is on a distinguished road
Default

Quote:
Originally Posted by Guessed View Post
I have no idea on what might have happened but you can get a list of the built-in keyboard commands by running the following line of vba code which produces a new document containing all the keyboard shortcuts in a table. You can then paste this table into Excel and filter out the blanks in the key column to see all the possible keyboard shortcuts. There is over 250 to choose from.
Code:
Application.ListCommands ListAllCommands:=True
You may discover that keys around the intended keys got hit unintentionally. For example Ctrl+A then any key would replace your content with a single letter. If you then followed it with Ctrl+S then you just saved the doc with the removed content.

It can also be easy to hit the wrong key when going for Ctrl. Different keyboards put Ctrl in different places and your little finger can hit Fn or Alt or Windows key when reaching for the actual key.

You could also have had custom keyboard actions running macros depending on which templates or addins were running at the time.
Hello, I dont know where and how to do that, about vba code. I am novice with computers. It wasnt Ctrl + A, Or to save, because as I said, was unable to undo or to wrote again in that document, all commands was grey, but I was able to use document, wasnt frozen or something. Was nothing written and no option to select or write something or even be able to undo or redo. I have tried again to replicate de experiment but not working again, I dont know what was that. I have a normal keyboard, no special one, no special keys. No custom keyboard sir. I dont understand, what do you mean by "custom keyboard actions running macros depending on which templates or addins were running at the time."? And as I said, was no frozen or blocked word, no text, no able to type again in the panel and all options from Home, Insert, View, etc, was gray, but I was able to navigate between tabs, like File, home, insert, design, just couln`d select anything from it, etc. So it was not only select text and press other key, and all text dissapered, because in this case I should was able to undo or redo, or cancel text/ action, right? And what "custom keyboard actions" can give me this problem? What thing was able to do that? What was this strange error in the end? Thanks.
Reply With Quote