vba - Richtextbox crashes Excel if a Ctrl-C (copy) or a drag and drog is attempted - Stack Overflow

admin2025-04-16  5

Windows 11 Pro, 23H2
Richtx32.ocx

  • Open at new Workbook
  • Create Userform1
  • Insert a Richtextbox control
  Sub RTBX()
      With Userform1
        .Richextbox.show 0
      End with
  End Sub

Enter some text

Attempt to Copy/Cut or Drag & Drop some text.

After 10 seconds Excel crashes. No KeyPress or KeyDown event is triggered

Have done both repairs to Office 365

转载请注明原文地址:http://anycun.com/QandA/1744811056a87945.html