john-tvh / vbe_extras Goto Github PK
View Code? Open in Web Editor NEWVBE Extras ... extending the VBA editor
Home Page: https://www.thevbahelp.com/vbe-extras
VBE Extras ... extending the VBA editor
Home Page: https://www.thevbahelp.com/vbe-extras
Describe the bug
Live Code Info does not update when cursor moves directly between a Property Get and matching Property Let/Set
To Reproduce
Steps to reproduce the behavior:
Code sample
Option Explicit
Dim mNum As Long
Property Let Num(value As Long)
mNum = value
End Property
Property Get Num() As Long
Num = mNum
End Property
Expected behavior
Live Code Info should update to reflect the correct Property
Please complete the following information:
VBE_Extras v1.3.1.0 [Release], build 20 Apr 2023 17:15:23
LGF: v2.1.0.0
LGS: v3.1.2.0
LFF: v3.6.11.0
.NET Framework 4.8.4614.0
CLR: v4.0.30319
Microsoft Windows 10.0.19045 : X64
Debugger attached
Dev device
Excel 365 (16.0, 16227, WIN64, VBA7)
VBE 7.01
UI Lang: en-US
Host: excel.EXE v16.0.16227.20280
LCI NS: True
EE NS: False
Describe the bug
'Full Screen' does not maximise the VBE window if it is currently in a 'normal' state
To Reproduce
Steps to reproduce the behavior:
Expected behavior
When the docked windows are hidden, the VBE window should be maximised.
Please complete the following information:
VBE_Extras v1.4.1.1 [Release], build 30 Aug 2023 20:25:46
LGF: v2.1.0.0
LGS: v3.1.4.0
LFF: v3.6.15.0
VEH: v20221118.04
.NET Framework 4.8.9167.0
CLR: v4.0.30319
Microsoft Windows 10.0.19045 : X64
Dev device
Excel 365 (16.0, 16731, WIN64, VBA7)
VBE 7.01.1131
UI Lang: en-US
Host: EXCEL.EXE v16.0.16731.20078
LCI NS: True
Describe the bug
When VBE_Extras is (re-)loaded after having been unloaded, it fails to start correctly displaying a "Failed to get CommandBar ... VBE_Extras cannot load" message in a dialog box.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
VBE_Extras should re-load
Logs
n/a
Please complete the following information:
VBE_Extras v1.3.0.0 [Debug], build 17 Apr 2023 20:24:02
LGF: v2.1.0.0
LGS: v3.1.2.0
LFF: v3.6.11.0
.NET Framework 4.8.4614.0
CLR: v4.0.30319
Microsoft Windows 10.0.19045 : X64
Dev device
Excel 365 (16.0, 16227, WIN64, VBA7)
VBE 7.01
UI Lang: en-US
Host: EXCEL.EXE v16.0.16227.20280
LCI NS: False
EE NS: False
Additional context
n/a
Describe the bug
Make Option Explicit adds new declarations in wrong procedure when there are many declarations for the 'same name' are added across multiple procedures at once.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
No duplicate declarations.
Frequency of bug
Every time ... the bug is 100% consistent.
Please complete the following information:
VBE_Extras v1.4.1.4 [Debug], build 14 Nov 2023 14:20:48
LGF: v2.2.0.0
LGS: v3.1.8.0
LFF: v3.7.2.0
VEH: v20230831.05
.NET Framework 4.8.9181.0
CLR: v4.0.30319
Microsoft Windows 10.0.19045 : X64
Dev device
Excel 365 (16.0, 16924, WIN64, VBA7)
VBE 7.01.1131
UI Lang: en-US
Host: EXCEL.EXE v16.0.16924.20124
Exp: S-GET, S-CCAS, RAM
Describe the bug
'Themes' does not work with a non-English (eg Spanish) 'Office Display Language'
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Theme should be applied
Frequency of bug
Every time the steps in 'To Reproduce' are carried out.
Context
Please complete the following information:
VBE_Extras v1.4.2.0 [Debug], build 15 Nov 2023 15:12:13
LGF: v2.2.0.0
LGS: v3.1.8.0
LFF: v3.7.2.0
VEH: v20230831.05
.NET Framework 4.8.9181.0
CLR: v4.0.30319
Microsoft Windows 10.0.19045 : X64
Excel 365 (16.0, 16924, WIN64, VBA7)
VBE 7.01.1131
UI Lang: es-ES
Host: excel.exe v16.0.16924.20124
Exp: LCI-NS, S-GET, S-CCAS, RAM
Describe the bug
Error window appears for TaskCanceledException in 'Connect(WinForms)' exception handler on launching VB IDE
To Reproduce
Steps to reproduce the behavior:
Expected behavior
No error
Logs
logs.zip
Please complete the following information:
VBE_Extras v1.4.1.4, build 26 Oct 2023 18:41:06
LGF: v2.2.0.0
LGS: v3.1.6.0
LFF: v3.7.1.0
.NET Framework 4.8.9181.0
CLR: v4.0.30319
Microsoft Windows 10.0.22621 : X64
Excel 365 (16.0, 16924, WIN64, VBA7)
VBE 7.01.1131
UI Lang: en-US
Host: EXCEL.EXE v16.0.16924.20124
Exp: NEWA
Describe the bug
Main menu items (including items under 'Conditional Compilation Arguments', 'Backup this Project' and others) are inappropriately enabled when no VBA projects (including AddIns) are open
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Only appropriate main menu items should be enabled when no VBA projects (including AddIns) are open.
Frequency of bug
All the time when no VBA projects (including AddIns) are open.
Please complete the following information:
VBE_Extras v1.4.3.0 [Debug], build 5 Dec 2023 16:15:43
LGF: v2.2.0.0
LGS: v3.1.9.0
LFF: v4.0.0.0
VEH: v20230831.05
.NET Framework 4.8.9181.0
CLR: v4.0.30319
Microsoft Windows 10.0.19045 : X64
Debugger attached
Dev device
Excel 365 (16.0, 17029, WIN64, VBA7)
VBE 7.01.1131
UI Lang: en-US (menu names English)
Host: excel.exe v16.0.17029.20028
Exp: S-GET, S-CCAS, RAM
OA: none
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:
CommandButton1
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
Describe the bug
After updating Attributes for UserForm Modules when the UserForm designer is visible, no history is recorded
To Reproduce
Steps to reproduce the behavior:
Expected behavior
History should continue to be tracked
Please complete the following information:
VBE_Extras v1.3.1.0 [Debug], build 21 Apr 2023 13:02:38
LGF: v2.1.0.0
LGS: v3.1.2.0
LFF: v3.6.11.0
.NET Framework 4.8.4614.0
CLR: v4.0.30319
Microsoft Windows 10.0.19045 : X64
Debugger attached
Dev device
Excel 365 (16.0, 16227, WIN64, VBA7)
VBE 7.01
UI Lang: en-US
Host: excel.EXE v16.0.16227.20280
LCI NS: True
EE NS: False
Describe the bug
Members with a name that is a single-character - where that character appears as the last character of a String are being identified as Code references, not String references
To Reproduce
Steps to reproduce the behavior:
Sub Foo()
Dim a As String
Debug.Print "--a"
Debug.Print "-a-"
Debug.Print "a--"
End Sub
Expected behavior
The 'a' in all 3 Debug.Print lines should be identified as being a String type reference)
Frequency of bug
Every time.
Please complete the following information:
VBE_Extras v1.4.2.0 [Debug], build 23 Nov 2023 15:31:13
LGF: v2.2.0.0
LGS: v3.1.9.0
LFF: v4.0.0.0
VEH: v20230831.05
.NET Framework 4.8.9181.0
CLR: v4.0.30319
Microsoft Windows 10.0.19045 : X64
Debugger attached
Dev device
Excel 365 (16.0, 17029, WIN64, VBA7)
VBE 7.01.1131
UI Lang: en-US (menu names English)
Host: excel.exe v16.0.17029.20028
Exp: S-GET, S-CCAS, RAM
Describe the bug
Does not find references to Functions or Property Gets when used directly as the value of a named argument. Does find other references and also finds references to variables, statics and other types when used as the value of a named argument.
To Reproduce
Sample code:
Sub Foo()
Bar lVal:=GetNum
Bar GetNum
End Sub
Sub Bar(lVal As Long)
Debug.Print Now, lVal
End Sub
Function GetNum() As Long
GetNum = 42
End Function
... get references for GetNum ... will find only 3 with the reference in line Bar lVal:=GetNum
being omitted.
Expected behavior
Find all 4 references.
Please complete the following information:
VBE_Extras v1.1.6.0 [Debug], build 13 Jan 2023 12:17:17
LGF: v2.1.0.0
LGS: v3.0.1.0
LFF: v3.6.4.0
.NET Framework 4.8.4515.0
CLR: v4.0.30319
Microsoft Windows 10.0.19045 : X64
Dev device
Excel 365 (16.0, 15831, WIN64, VBA7)
VBE 7.01
UI Lang: en-US
Host: EXCEL.EXE v16.0.15831.20208
Describe the bug
Dialog appearing in VBA Projects that have one or more broken Type Library references: The VBE reported an error (COMException) in the 'Menus' exception handler (command 'Info for code at cursor'): Library not registered. (Exception from HRESULT: 0x8002801D (TYPE_E_LIBNOTREGISTERED))
To Reproduce
Steps to reproduce the behavior:
Expected behavior
No such error dialog
Frequency of bug
Is specific to VBA Projects that have one or more broken Type Library references ... occurs for majority of VBE_Extras functions.
Please complete the following information:
VBE_Extras v1.4.2.0 [Debug], build 20 Nov 2023 08:46:55
LGF: v2.2.0.0
LGS: v3.1.9.0
LFF: v4.0.0.0
VEH: v20230831.05
.NET Framework 4.8.9181.0
CLR: v4.0.30319
Microsoft Windows 10.0.19045 : X64
Dev device
Excel 365 (16.0, 17029, WIN64, VBA7)
VBE 7.01.1131
UI Lang: en-US (menu names English)
Host: EXCEL.EXE v16.0.17029.20028
Exp: S-GET, S-CCAS, RAM
If you are having a problem with updating VBE_Extras to version 1.1.4.0 from a prior version, note that changes have been made to the installation process for this version of VBE_Extras which may result in the update failing for a small number of users that already have a prior version installed. If you are updating to this new version but still see an old version number in the 'About' window, please go to Control Panel > Programs and Features (or Settings > Apps) and uninstall VBE_Extras (all versions if multiple are present), then use this link to go to the downloads page and install the latest version:
Describe the bug
'VBE_Extras Helper' right-click context menu not showing for some Shapes.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A context menu should appear when right-clicking an "OLE Object"
Please complete the following information:
VBE_Extras v1.4.1.1 [Release], build 30 Aug 2023 20:25:46
LGF: v2.1.0.0
LGS: v3.1.4.0
LFF: v3.6.15.0
VEH: v20221118.04
.NET Framework 4.8.9167.0
CLR: v4.0.30319
Microsoft Windows 10.0.19045 : X64
Dev device
Excel 365 (16.0, 16731, WIN64, VBA7)
VBE 7.01.1131
UI Lang: en-US
Host: EXCEL.EXE v16.0.16731.20078
LCI NS: True
Describe the bug
Renaming some types in PowerPoint results in a NullReferenceException, for example renaming the VBProject
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Allow rename of VBProject
Please complete the following information:
VBE_Extras v1.1.6.0 [Debug], build 24 Jan 2023 15:49:37
LGF: v2.1.0.0
LGS: v3.0.2.0
LFF: v3.6.5.0
.NET Framework 4.8.4515.0
CLR: v4.0.30319
Microsoft Windows 10.0.19045 : X64
Dev device
PowerPoint 365 (16.0, 15928, WIN64, VBA7)
VBE 7.01
UI Lang: en-US
Host: POWERPNT.EXE v16.0.15928.20216
Describe the bug
The VBE_Extras Toolbar repeatedly moves out of position (having briefly moved into the correct position) when Live Code Info is running and new info is being displayed.
To Reproduce
Steps to reproduce the behavior:
Screenshots
If applicable, add screenshots to help explain your problem.
Please complete the following information:
VBE_Extras v1.4.2.0 [Debug], build 23 Nov 2023 17:31:28
LGF: v2.2.0.0
LGS: v3.1.9.0
LFF: v4.0.0.0
VEH: v20230831.05
.NET Framework 4.8.9181.0
CLR: v4.0.30319
Microsoft Windows 10.0.19045 : X64
Dev device
Excel 365 (16.0, 17029, WIN64, VBA7)
VBE 7.01.1131
UI Lang: en-US (menu names English)
Host: EXCEL.EXE v16.0.17029.20028
Exp: S-GET, S-CCAS, RAM
Describe the bug
References of a variable or static following the 'Is' keyword are not found
To Reproduce
Steps to reproduce the behavior:
Dim oExcel As Application
Dim obj As Object
If oExcel Is obj Then
' stuff
End If
Expected behavior
Both references should be found
Please complete the following information:
VBE_Extras v1.1.2.1, build 8 Sep 2022 12:24:52
LGF: v2.0.3.0
LGS: v2.3.2.0
LFF: v3.5.4.0
.NET Framework 4.8.4515.0
CLR: v4.0.30319
Microsoft Windows 10.0.19043 : X64
Debugger attached
Dev device
Excel 365 (16.0, 15427, WIN64, VBA7)
VBE 7.01
UI Lang: en-US
Host: EXCEL.EXE v16.0.15427.20210
Describe the bug
Cannot identify declaration of Type element when there are multiple spaces between its name and the 'As' keyword.
To Reproduce
Steps to reproduce the behavior:
Debug.Print
statement, press F12 on value1
and the declaration is found ... however, press F12 on value2
and the declaration is not found with a message saying "Could not find the declaration for 'value2'"Type MyType
value1 As Long
value2 As Long
End Type
Sub Foo()
Dim t As MyType
Debug.Print t.value1, t.value2
End Sub
Expected behavior
The declaration for value2
should be found, the same as it is for value1
Please complete the following information:
v0.9.1.2 [Debug], build 25 Jun 2022 15:37:43
LGF: v2.0.3.0
LGS: v2.2.7.0
LFF: v3.4.8.0
.NET Framework 4.8.4515.0
CLR: v4.0.30319
Microsoft Windows 10.0.19043 : X64
Excel 365 (16.0, 15225, WIN64, VBA7)
VBE 7.01
UI Lang: en-US
Host: EXCEL.EXE v16.0.15225.20288
Describe the bug
Error is reported when a 'match for literal value at cursor' is on line 1 of a Module (ArgumentException)
To Reproduce
Steps to reproduce the behavior:
Const test As String = "abc"
Sub Foo()
Debug.Print "abc"
End Sub
... note the Const line is line 1
"abc"
in the Debug.Print
lineExpected behavior
No such error, dialog is shown listing matches for "abc"
.
Frequency of bug
Every time the above scenario is replicated.
Logs
Argument_231211_083113_206_Excel.txt
Please complete the following information:
VBE_Extras v1.4.3.0 [Debug], build 11 Dec 2023 12:48:23
LGF: v2.2.0.0
LGS: v3.1.10.0
LFF: v4.0.1.0
VEH: v20230831.05
.NET Framework 4.8.9181.0
CLR: v4.0.30319
Microsoft Windows 10.0.19045 : X64
Dev device
Excel 365 (16.0, 17029, WIN64, VBA7)
VBE 7.01.1131
UI Lang: en-US (menu names English)
Host: EXCEL.EXE v16.0.17029.20068
Exp: S-GET, S-CCAS, RAM
OA: none
Describe the bug
Host app locks up when change procedure between Sub and Function
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Host app does not lock up
Logs
n/a ... no Exception / Error displayed
Please complete the following information:
VBE_Extras v1.3.0.0 [Debug], build 17 Apr 2023 15:23:49
LGF: v2.1.0.0
LGS: v3.1.2.0
LFF: v3.6.11.0
.NET Framework 4.8.4614.0
CLR: v4.0.30319
Microsoft Windows 10.0.19045 : X64
Dev device
Excel 365 (16.0, 16227, WIN64, VBA7)
VBE 7.01
UI Lang: en-US
Host: EXCEL.EXE v16.0.16227.20280
LCI NS: False
EE NS: False
Describe the bug
When a device has multiple monitors attached and a Form is shown and closed on a non-primary monitor, when the Form is re-shown it is always back on the Primary monitor (should be on the same secondary monitor)
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The Form should be shown on the same monitor that is was visible on when closed (so long as that monitor is still attached)
Please complete the following information:
VBE_Extras v1.0.0.0 [Debug], build 20 Jul 2022 15:55:00
LGF: v2.0.3.0
LGS: v2.2.7.0
LFF: v3.5.0.0
.NET Framework 4.8.4515.0
CLR: v4.0.30319
Microsoft Windows 10.0.19043 : X64
Dev device
Excel 365 (16.0, 15225, WIN64, VBA7)
VBE 7.01
UI Lang: en-US
Host: EXCEL.EXE v16.0.15225.20288
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.