john-tvh / VBE_Extras

VBE Extras ... extending the VBA editor
https://www.thevbahelp.com/vbe-extras
1 stars 0 forks source link

Cannot find or rename ActiveX Controls in Worksheet CodeModules #4

Closed john-tvh closed 2 years ago

john-tvh commented 2 years ago

Describe the bug Cannot find the declaration for, or rename, ActiveX Controls in Worksheet CodeModules (though does find references)

To Reproduce Steps to reproduce the behavior:

  1. Add an ActiveX Control to a Worksheet
  2. Add an event handler in the CodeModule behind the Worksheet (example below)
  3. Move the cursor to CommandButton1
  4. Ask VBE_Extras to go to the declaration or rename
Private Sub CommandButton1_Click()
    Debug.Print CommandButton1.Name
End Sub

Expected behavior Should find and allow renaming of ActiveX Controls in Worksheet CodeModules

Please complete the following information: VBE_Extras v1.1.2.0 [Debug], build 12 Aug 2022 09:59:20 LGF: v2.0.3.0 LGS: v2.2.7.0 LFF: v3.5.2.0 .NET Framework 4.8.4515.0 CLR: v4.0.30319 Microsoft Windows 10.0.19043 : X64 Dev device Excel 365 (16.0, 15427, WIN64, VBA7) VBE 7.01 UI Lang: en-US Host: EXCEL.EXE v16.0.15427.20194

john-tvh commented 2 years ago

Fixed in release 1.1.2.1