You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
While attempting to import LoadCombo.cls into a VBA project, it will be imported as a Module not a Class. Additional header lines will be added, see first screenshot below.
To Reproduce
Download the code as zip from github and unzip locally.
In Excel, open a VBA Project.
Right click the project name and select "Import File...".
Find the file "LoadCombo.cls" and hit open.
Expected behavior
A LoadCombo class should be created instead of a LoadCombo Module and without the additional header lines.
Screenshots
Additional context
I'm going to leave this in here just in case someone else needs it. This is not a bug per se, as I believe the code will work just fine if you create the class manually and copy/paste the code into it (minus the added header lines.) This happens because the line endings in the file LoadCombo.cls are UNIX-style (LF) vs the Windows-style (CR+LF). See this from Tim Hall.
The text was updated successfully, but these errors were encountered:
Describe the bug
While attempting to import LoadCombo.cls into a VBA project, it will be imported as a Module not a Class. Additional header lines will be added, see first screenshot below.
To Reproduce
Expected behavior
A LoadCombo class should be created instead of a LoadCombo Module and without the additional header lines.
Screenshots
Additional context
I'm going to leave this in here just in case someone else needs it. This is not a bug per se, as I believe the code will work just fine if you create the class manually and copy/paste the code into it (minus the added header lines.) This happens because the line endings in the file LoadCombo.cls are UNIX-style (LF) vs the Windows-style (CR+LF). See this from Tim Hall.
The text was updated successfully, but these errors were encountered: