r/vba • • 5d ago

Show & Tell RDCore in VSCode

Thumbnail rubberduckvba.blog
11 Upvotes

RDCore has released v0.2.5-alpha and published its second LSP client extension, this time for the VS Code editor, alpha release v0.1.0 of RDCore.VSCode.

The extension is a simple .vsix download and delivers standard LSP and DAP debugging adapters through the RDCore language platform, so edit and continue works as it does in any other RDCore client: mind-blowingly letting you get away with edits that MS-VBA restarts your debug session over.

This is not yet another toy interpreter bundled in a LSP backend: rdc compiles MS-VBA and VB6 as-is down to .net11 IL, performs as such (beats MS-VBA across the board on a Mac), and offers "Roslyn, but for VBA" with an unparalleled semantic model that just doesn't exist elsewhere for VBA - in English: watch this space, this is a massive platform and it's only going to get more powerful with every release.


r/vba • • 6d ago

Weekly Recap This Week's /r/VBA Recap for the week of November 14 - November 20, 2026

2 Upvotes

Saturday, November 14 - Friday, November 20, 2026

Top 5 Posts

scorecommentstitle & link
1517 comments[Discussion] Do you use Python instead of VBA?
63 comments[Waiting on OP] Foreign Excel VBA forms
67 comments[Discussion] Is VBA Certification Worth It for a Document Controller?
41 comments[Weekly Recap] This Week's /r/VBA Recap for the week of November 07 - November 13, 2026
313 comments[Solved] loop through a specific range and check if cell is not equal to the one before

 

Top 5 Comments

scorecomment
8/u/Joelle_bb said I do now for 2 reasons: I have to because of my job (my team opposes use of vba since its not common in our tech stack, and I'd be the only person who can service the mid tier and complex builds ...
7/u/HeavyMaterial163 said I prefer Python, but there are projects where VBA makes more sense. Data handling and transformation is easier with a longer list of better implemented data structures, I have more control of nearly e...
5/u/MultiUserDungeonDev said If I was hiring, I’d rather see a few high quality VBA implementations you’ve personally created, alongside your ability to be very conversational about them in a live interview. I would want to test...
3/u/keith-kld said In my experience, if the project has an app (actually, a system) to manage documents, it is very good. If not, everything will be controlled by manual. In this case, I use everything that can ...
3/u/welktickler said I have been using VBA as one of my tools at work for over ten years. I recently started learning python as it is better suited to the data stuff I do.I love and hate VBA. Its very powerful and you can...

 


r/vba • • 2h ago

Show & Tell [EXCEL] Code review and testers welcome: ~63,000 lines of VBA in a public-domain personal-finance workbook

Thumbnail github.com
7 Upvotes

I've released a personal-finance workbook for Microsoft 365 on Windows, into the public domain (CC0 1.0). It has about 63K lines of VBA (around 45K of them code, the rest comments and blank lines) in 26 standard modules, 44 sheet and ThisWorkbook modules, and one UserForm. I'd really welcome a look from VBA enthusiasts on here.

I'd been using an Excel workbook for the past 25 years or so for my personal finances and finally decided around a year ago to step up my game and see what could be improved in the automation dept. I started creating macros back in the 90s and totally nerded out back then on Excel. For the last 10 years or so, I decided to study VBA more seriously, reading instruction pubs with my morning coffee and tinkering when I could. Since I'd used MS Money and Quicken back in the day, but was frustrated with both for certain scenarios, I gave up and relied on what I could do in Excel instead. I designed and tested it for almost a year (others are stronger with skinning the UI; I concentrated on the functional aspects) and got some AI time in last month for resolving a few things I needed help with.

Some of the design choices:

  • Excel Tables with calculated columns do most of the math. VBA builds the loan amortization schedules and the debt-payoff projections, runs the on-sheet input "forms", and does all the add, edit and delete work on those tables.
  • No cell addresses in the code: it finds worksheet locations by named range, or by table and column names (there are a few cell A1 references, selecting the top-left cell for scroll returns).
  • Status messages are written as a value plus a severity code, and conditional formatting does all the coloring. The code never sets a color directly.
  • A ton of BeginBatch/EndBatch pairs manage calculation, events, screen updating and Esc-key presses. Only the outermost pair switches them.
  • "Import from Previous Version" copies the old workbook to the temp folder and opens that copy read-only with 'AutomationSecurity' set to force-disable, so the old file is never touched and its macros can't run.
  • A build routine scrubs personal data, writes shipped defaults, and checks the result (personal settings blank, grids empty, help text complete, no external links) before saving the release copy.

Here's a BeginBatch/EndBatch pair sample:

Public Sub BeginBatch(Optional ByVal notFromMacroList As Boolean = False)
    ' The optional argument is never used: a routine that takes one is not
    ' offered in Alt+F8's list of macros, and this one is never run by hand
    ' (it would leave calculation on hold and the sheets' events off).
    ' The outermost batch also turns off interruption by Esc and
    ' Ctrl+Break, so an action is never stopped partway through its
    ' writes. Excel turns interruption back on by itself as soon as no
    ' macro is running; EndBatch leaves it alone, because an action's
    ' work often goes on after its batch closes.
    If mBatchDepth = 0 Then
        Application.EnableCancelKey = xlDisabled
        Application.ScreenUpdating = False
        Application.Calculation = xlCalculationManual
        Application.EnableEvents = False
    End If
    mBatchDepth = mBatchDepth + 1
End Sub

Public Sub EndBatch(Optional CalcNow As Boolean = True)
    ' The outermost EndBatch turns events and calculation back on and
    ' shows the screen unless a navigation button is holding it until
    ' the sheet it is showing has refreshed (ShowSheet).
    If mBatchDepth > 0 Then mBatchDepth = mBatchDepth - 1
    If mBatchDepth = 0 Then
        Application.EnableEvents = True
        If CalcNow Then Application.Calculation = xlCalculationAutomatic
        If Not mNavHold Then Application.ScreenUpdating = True
    End If
End Sub

Where I'd most value another set of eyes:

  • Performance. Some routines still loop over ListRows cell by cell instead of reading 'DataBodyRange' into an array once.
  • The OFX/QFX/CSV parsers, especially with non-U.S. number and date formats.
  • Error handling. There are over 400 'On Error Resume Next' lines, which is more than I'd like. I'd welcome opinions on which ones should become real error handling.

On safety, since it's a macro file:

  • There are no 'Declare' statements, no 'Shell' calls, and no web requests.
  • 'Kill' deletes only two things: old backups beyond the number the user wants to keep, and the importer's own temporary copy.
  • 'CreateObject' makes only 'Scripting.Dictionary' and 'ADODB.Stream'. The stream writes the CSV export as UTF-8, and decodes an imported OFX/QFX file whose header names a character set other than UTF-8 (in memory; it doesn't write anything).
  • It reads six Windows environment variables, all standard folder locations: 'LOCALAPPDATA' (the fallback backup folder); 'OneDrive', 'OneDriveConsumer' and 'OneDriveCommercial' (to find the local folder of a workbook kept in OneDrive); and 'TEMP', or 'TMP' if 'TEMP' is blank (the importer's temporary copy). My release-build routine also falls back to 'TEMP' for its report.
  • A plain-text listing of every module is in the download and on the release page, so you can read it all without opening Excel.

Most of the testing so far is mine, with help from several co-workers and friends, so testers are welcome too. I'm happy using it for my own stuff. The zip download includes a sample-data copy to try things on, and I have an Issues page set up (https://github.com/rsullivan-summetry/Summetry/issues).

Project page: https://github.com/rsullivan-summetry/Summetry


r/vba • • 1d ago

Show & Tell How to Migrate from SeleniumBasic to SeleniumVBA in Excel (with latest BrowseTo sub)

2 Upvotes

Welcome to the Excel Tools for Gamers channel! Unlike my other channel, this one is dedicated solely to Excel VBA tools for gamers. In this video, I'm going to show you step-by-step how to migrate from Excel SeleniumBasic to SeleniumVBA. Specifically, we'll be copying Sheet1 from our SeleniumBasic workbook over to the SeleniumVBA workbook, while making sure to take note of all named ranges, shapes or picture groups, and external workbook links along the way. Let's dive into the migration!.

https://youtu.be/XNBk93A1DTM


r/vba • • 2d ago

Show & Tell VBA Scan: Analyze Macro-Enabled files for suspicious content before opening them

Thumbnail vba-scan.decimalturn.dev
11 Upvotes

Summary

As a regular member of the VBA subreddit, I'm always happy to play around with the latest project that gets shared around here. However, I try to be careful when opening files and enabling macros, just like I would do for any .exe file.

To help with this, I made a webpage that allows to scan a file for suspicious content and display results in an interactive UI that makes it more easily reviewable. The tool is based on the python project oletools (3.5k⭐) directly in the browser using Pyodide.

Obvisouly, even if the tools doesn't detect anything doesn't mean the file is totally safe, but it remains a good sanity check when deciding if you should open the file.

Code is available on GitHub: https://github.com/DecimalTurn/vba-scan

Some Extra Details

Reducing erroneous detection of VBA Stomping

While working on the tool, I tried to fix the thing that annoyed me the most with oletools: VBA stomping false positives. For those who don't know, VBA stomping is a technique used to hide the true VBA content of a file. This is a technique used to make malware. If it is present in a file, you should be highly worried, but having false detection is a cause of unnecessary panic.

To fix the majority of false detection, I implemented a fix directly to a dependency of oletools: pcodedmp. This means that the version of oletools used by VBA-Scan is a fork of the original with the pcodedmp package replaced by this custom version.

A few months ago, u/ConnectionApart675 posted their ski game on the sub. I tried to use oletools to dectect anything suspicious and it detected VBA stomping by mistake. With the new version, this is no longer the case.

Inspecting suspicious lines

In the original oletools package, you don't get the exact VBA line where the issue occurs. I this custom version the tools tells you the exact line of the match and the UI allows to display it for easier review.

Other removal of false positives

Some of the detections done with regex in the original oletools was causing false alarms. Some of the fix implemented for VBA-Scan are:

  • No longer detect comments as suspicious
  • Avoid detection of keyword inside quoted strings
  • Avoid detection of Excel ranges string (eg. Range("A1")) as suspcicious

AI use

The tool itself doesn't use AI. It's mainly powered by regex rules design to detect suspicious patterns. During the improvements made to oletools and pcodedmp, I did use AI agents to help with the implementation, but I did review (or at least skim) the code and steered it in specific directions since I knew what was needed in most cases since I've already worked manually on the oletools codebase before. Most of the front end code is written by LLMs without much review except manual testing of the user interface. I've left the commit history intact, so the progress and steering can be reviewed as well.

EDIT: The file selection tool doesn't seem to work on the Modbile Reddit Browser, so make sure to open the page on your default mobile broswer instead.


r/vba • • 5d ago

Discussion How to enable GPU processing in Excel VBA

22 Upvotes

I create engineering functions in Excel VBA, but want to take advantage of the GPU to speed up calculations. I’ve tried prompting Copilot to ask for help, but it seems resistant to help in that regards. It wants to direct me to creating XLL’s to accelerate calculations, but I don’t know what I’m doing with XLL’s and I think they require digital signing but my work IT doesn’t allow such things.


r/vba • • 6d ago

Show & Tell RDCore v0.2.1 Alpha: Cross-Platform VBA, VB6 & Forms

Thumbnail rubberduckvba.blog
10 Upvotes

This 2nd preview release ships legacy-Rubberduck inspection/diagnostics parity (+), built-in MCP tools, benchmarking tools, and the first alpha release of RDForms, the platform's cross-platform UI framework.


r/vba • • 6d ago

Unsolved Foreign Excel VBA forms

4 Upvotes

I have an Excel VBA form that was initially in English. How can I make the Form Properties capion show up wit.h Greek font Thanks.


r/vba • • 7d ago

Discussion Is VBA Certification Worth It for a Document Controller?

7 Upvotes

Hi everyone!

I'm currently working as a Document Controller in the construction industry, and I've recently started learning Excel VBA.

My daily work involves handling Inspection Requests (IRs), document logs, tracking revisions, managing pending responses, organizing correspondence, and dealing with large amounts of Excel data.

I'm learning VBA because I want to automate repetitive tasks, improve my Excel skills, and become more efficient at my job.

I have a few questions for experienced VBA developers:

  1. Are there any recognized VBA certifications worth pursuing?
  2. Does VBA certification actually help when applying for jobs, or is practical experience more important?
  3. What real-world VBA projects would you recommend for someone working in Document Control?
  4. Is learning VBA still valuable in 2026, considering Power Query, Power Automate, and Python?
  5. Can strong Excel VBA skills make a difference in a Document Controller's career, especially in the construction industry?

I'd really appreciate hearing about your experiences and recommendations.

If you were starting your career as a Document Controller today, would you invest more time in Advanced Excel, VBA, Power Query, or Python? And why?"

Thanks!


r/vba • • 9d ago

Discussion Looking for early Testers for My Excel VBA macros into Google Apps Script Add-on

4 Upvotes

Hey everyone!

I'm the developer behind a Google Workspace add-on designed to make migrating from Microsoft Excel to Google Sheets easier.

It helps users transfer and convert Excel VBA macros into Google Apps Script, making it easier to move existing spreadsheet automation from Excel to Google Sheets without having to rebuild everything from scratch.

I'm looking for a few beta testers who regularly work with Excel macros or Google Sheets and would be willing to try it out.

If you're interested, drop a comment or send me a DM. I'd really appreciate your help!

Thanks!


r/vba • • 10d ago

Discussion Do you use Python instead of VBA?

21 Upvotes

I have not understood exactly the difference between xlite and pyXLL but I am wondering if someone uses Python to code and why?


r/vba • • 9d ago

Show & Tell pyVBA-Interpreter can now manage arrays.

1 Upvotes

pyVBA-Interpreter is a VBA interpreter written with Python and parsed with ANTLR.

https://github.com/Beakerboy/PyVBA-Interpreter/tree/dev

A new contributor has just helped add array capabilities to the project. If you have ever wondered if you can run VBA code outside of Excel, or from a command line, this project allows you to do that.

If you want to test it, ask any questions here or on the GitHub project discussion page.


r/vba • • 10d ago

Solved loop through a specific range and check if cell is not equal to the one before

4 Upvotes

Essentially, I want to loop the following code:


If Worksheets("Tabelle1").Range("A11") <> Worksheets("Tabelle1").Range("A10") Then

With Worksheets("Tabelle1").Range("A11:G11").Borders(xlEdgeTop)

.LineStyle = xlContinuous

.Weight = xlMedium

.ColorIndex = 0

End With

End If

If Worksheets("Tabelle1").Range("A12") <> Worksheets("Tabelle1").Range("A11") Then

With Worksheets("Tabelle1").Range("A12:G12").Borders(xlEdgeTop)

.LineStyle = xlContinuous

.Weight = xlMedium

.ColorIndex = 0

End With

End If

[...]

If Worksheets("Tabelle1").Range("A64") <> Worksheets("Tabelle1").Range("A63") Then

With Worksheets("Tabelle1").Range("A64:G64").Borders(xlEdgeTop)

.LineStyle = xlContinuous

.Weight = xlMedium

.ColorIndex = 0

End With

End If

End Sub

This is what I'm currently working with, which is obviously just not very elegant and efficient. I'm assuming there is a way to loop through this, but I'm not proficient enough with VBA to figure it out myself. Can anyone give me some advice?

Thank you in advance.


r/vba • • 10d ago

Unsolved How to preview macro-enabled files?

2 Upvotes

The previewer in file explorer only shows a blank preview for macro-enabled Excel files, no warning message, just blank. I installed the latest Windows update where you can click on "Show preview anyway", but this only works for pdfs, not for macro-enabled Excel files. Does anyone know a solution for this?


r/vba • • 13d ago

Weekly Recap This Week's /r/VBA Recap for the week of November 07 - November 13, 2026

4 Upvotes

Saturday, November 07 - Friday, November 13, 2026

Top 5 Posts

scorecommentstitle & link
5722 comments[Advertisement] WinVBA 1.0 has been released
1017 comments[Waiting on OP] Python vs Excel/VBA for an automated document generator used by non-technical staff?
109 comments[Show & Tell] RDCore v0.1.0-alpha is here
52 comments[Show & Tell] VBA-UserForm-Transpiler Excel VBA UserForm to other programming languages converter
41 comments[Weekly Recap] This Week's /r/VBA Recap for the week of October 31 - November 06, 2026

 

Top 5 Comments

scorecomment
10/u/Ok-Programmer9295 said Wow! Thank you. I’m retired now and not doing much coding anymore, but I wish I’d had this when I was working.
7/u/ebsf said This is well understood in the Access VBA community. Traditionally, a collection of UDTs could not be iterated, although a collection of class instances can. IUnknown is an interface all COM classes...
5/u/wickedja said I would go the route of vba userform within excel. They're a little dated but you can still customise them a bit, make them user proof and have them be dynamic (in your case only showing certain f...
5/u/still-dazed-confused said Forgive an extremely naive question as I'm not technical :). Does this price VBA code which lives inside the ms office file and is distributed inside it or does it produce separate executable prog...
5/u/Thadrea said I am honestly skeptical this will be useful to many people. The people using VBA as a workaround for automating work when IT restrictions prevent installing/using a more robust toolkit will not be ab...

 


r/vba • • 14d ago

Unsolved Python vs Excel/VBA for an automated document generator used by non-technical staff?

15 Upvotes

Hello everyone

Let me give you a little context I am currently working in a french hospital, and I would like to develop a tool to automate the creation of administrative letters, if you don't know french public administrations are VERY VERY VERY outdated i am working here as a buying manager and as expected from a place like this we lack staff a lot because of budget cuts so i am most of the time doing administrative task like writing letters instead of studying prices and doing negotiations.

We regularly receive supplier quotations and need to generate different types of formal boring documents ( to be honest we could just sign the pricing proposal but the Head of Department is from the medical field have no training in administration and she is very old so she wants to keep it that way ) so we write letters for things such as price acceptance letters, price revision and adjustment letters, product reference changes, product substitutions, currently, much of this work is done manually using Word.

Right now I have a dropdown to choose which type of letter I want, some fields for the supplier, contract number, product references, prices, dates etc. I also added another sheet where I can select which hospitals are concerned, and a small supplier database.

But I' am not really happy with it.

For example, if I choose a letter about changing a product reference, I still see fields asking for old prices, new prices and other stuff that has nothing to do with that letter

What I would really like is for the form to change depending on which letter I select. So only the information I actually need would appear. And then once everything is filled in, I just click a button and it generates the Word letter using our existing templates. Being able to export it to PDF would be nice too.

Now here's where I'm a bit lost.

Should I keep working on Excel and use VBA to make it better? Or should I just start over with Python and make a proper little application?

I am not a developer btw, I'm just interested in this stuff and trying to learn as I go, so for those of you who have more experience with this kind of thing, what would you do?

Would you stick with Excel/VBA or go for Python? And if Python is better, how would you make something that people can use without having to install Python themselves?

One important detail this is a hospital environment, so computers have IT restrictions, and most users aren't particularly good with computers. my goal is to eventually present a reliable, easy to use solution to my Head of Department.

Also how complicated would it be to make different forms for each letter type without having to code everything separately?

Sorry if these are stupid questions I am still figuring things out haha.

Any advice or feedback would really help!

so i would love your advice on

  1. Is Excel/VBA sufficient for this kind of application?
  2. Would Python be a better long-term solution?
  3. What GUI framework would you recommend for non-technical Windows users?
  4. How would you handle different document types with their own required fields?
  5. How difficult would deployment and maintenance be in a restricted corporate environment?
  6. I'm still learning, so any feedback on the architecture, user experience, or technical approach would be greatly appreciated.

Thanks :))

( sorry for my english I am trying to not use ia )


r/vba • • 13d ago

Unsolved Highlight active row conditional formatting - stale rows

1 Upvotes

I've got an expense tracker with a highlight active row (light green fill) using '=ROW()=CELL("row")' on A2:E9999 +

Private Sub Worksheet_SelectionChange(ByVal Target As Range)

Me.Calculate

End Sub

On a sheet with only a few rows of data (e.g. rows 1–11), clicking in the blank rows underneath (12, 13, 14…) doesn't repaint properly:

  • the old row stays green after you move away, so 2–3 rows are highlighted at once
  • the new row is late to highlight, or only a 1-pixel sliver of it gets drawn
  • zooming in/out with the trackpad instantly repaints it correctly

Has anyone seen this, or know what Excel's repaint logic is actually doing here?


r/vba • • 15d ago

Show & Tell RDCore v0.1.0-alpha is here

18 Upvotes

Blog: http://rubberduckvba.blog/2026/11/11/introducing-rdcore-rd-vba-language-platform-v0-1-0-alpha/

Rubberduck becomes VBA and introduces RD-VBA.

This is it, this is what the Rubberduck 3.0 pipe dream was, except it's an entire language platform, not just a VBE add-in: the platform itself ships a runtime, a host, a SDK, and a language server.

The host executable is also a CLI tool and REPL LSP client/editor that works essentially like BASIC did, but with ghost-text line edits, syntax highlighting and conditional breakpoints and error stack traces, block foldings, diagnostics and code actions, completion lists that understand PascalCase, signature help, an `Erl` function that actually works, application settings in .json files, air-gapped external and native calls, and much more: it's a demo of (almost) everything the platform can do, wrapped up in a fun, theme-enabled BASIC shell that runs everywhere .net does.


r/vba • • 17d ago

Advertisement WinVBA 1.0 has been released

60 Upvotes

WinVBA - an IDE for Visual Basic for Applications

Today we would like to announce the release of WinVBA 1.0.0, a modern IDE for Visual Basic for Applications (VBA) development.

![image](https://winvba.com/assets/img/shots/1.png)

Features

A list of features can be seen here:

https://winvba.com/features/

Some of the features:

Editor

  • Tabbed interface
  • Syntax highlighting
  • Code auto completion

Code navigation

  • View Sub/Functions in treeview
  • View variables in treeview
  • View references in treeview

Debugging

Source control (git)

  • You can easily export the project or individual modules to disk as text files or ZIP archive.

AI Integration

  • Connect the editor to ChatGPT, Grok, Claude, Mistral and use it to improve your code

Compatibility

  • The IDE supports: Word, Excel, PowerPoint, Access, Project, Visio

Download and Installation

To install this product simply download the latest version from https://winvba.com/download/

Extract the ZIP file to a folder of your choice.

  1. Copy the WinVBA.exe file to your Desktop.
  2. Install the Office Add-in by opening the WinVBA Add-in folder and running Setup.exe This will add 3 buttons in the Developer tab: WinVBA Code, Macros, Settings.
  3. Configure the path to the WinVBA.exe in the settings
  4. Open the WinVBA.exe file to start the application and select the Office file to open or open your workbook and select WinVBA from the Developer tab.

Feedback

Any feedback is highly appreciated. We will be working in continuously fixing bugs and improving the software. Leave feedback in the comments below or contact us directly.


r/vba • • 18d ago

Show & Tell Thumbnails LibRetro Downloader 3.0 - SeleniumVBA (Not SeleniumBasic)

0 Upvotes

Hello gamers, and welcome back to the channel! In my last video, we talked about migrating to SeleniumVBA. Today, we’re looking at the second tool in the lineup: Thumbnails LibRetro Downloader 3.0 - SeleniumVBA.xlsm. In this video, I’m going to show you how to streamline your migration by wrapping all that heavy lifting into a single, powerful, reusable subroutine called BrowseTo. With just one clean line of code, this smart function automatically manages the new SeleniumVBA syntax, recycles active browser instances, so you aren't constantly spinning up slow new windows, handles window states, patches URL space encodings, and traps launch errors gracefully before they crash your workbook. Let's dive into the code and unlock the true potential of SeleniumVBA.

https://youtu.be/x6qr5T2OvP0


r/vba • • 18d ago

Waiting on OP Custom ForEach Loop, how far can we go?

2 Upvotes

Hello There,

I just discovered the fact, that VBA classes can have their own custom For Each Iteration.

One example from my linked List Datastructure:

'Inside my LinkedList class
Public Property Get NewEnum() As IUnknown
    Attribute NewEnum.VB_UserMemId = -4

    Dim Items As New Collection
    Dim CurrentNode As std_Node

    Set CurrentNode = mFirstNode

    Do While Not CurrentNode Is Nothing
        Call Items.Add(CurrentNode.Value)
        Set CurrentNode = CurrentNode.FirstReference
    Loop

    Set mEnumeratorCollection = Items

    Set NewEnum = mEnumeratorCollection.[_NewEnum]
End Property




' In Module1
Public Sub TestLinked()
    Dim LL As std_LinkedList
    Set LL = std_LinkedList.CreateWithValue(1)
    Call LL.Push(2)
    Call LL.Push(3)
    Call LL.Push(4)
    Call LL.Push(5)
    
    Call LL.Remove(3)
    Call LL.Insert(2, 20)
    Call LL.Pop
    
    Dim Item As Variant
    For Each Item In LL
        Debug.Print Item * 2
    Next Item
End Sub

I would like to understand what I just did, why and how it works and why it was designed this way. What is IEnumVariant, IUnknown etc. that I need to make this work, is there another way to invoke it aside from using Collection, what about the lifetime, since right now im only able to make it work by adding the mEnumeratorCollection Variable inside the class instance? What have you guys already made with this class (Im aware of Sancarn´s stdEnumerator class, but im looking for other implementations and when it makes sense to even use this)


r/vba • • 19d ago

Show & Tell VBA-UserForm-Transpiler Excel VBA UserForm to other programming languages converter

8 Upvotes

Hey everyone!

I'd like to share a project I've been working on for over a year: VBA-UserForm-Transpiler.

The goal of this project is to make it possible to convert Excel VBA UserForms into other programming languages.

The idea came from a simple question: Why can't we take advantage of how easy it is to build GUIs with VBA UserForms in other languages?

For example, when working with Python's Tkinter, creating a GUI manually can be quite tedious. There's a tool called PAGE for Tkinter, but in my opinion, it doesn't offer quite the same level of convenience as VBA UserForms.

Even with generative AI, getting the GUI you have in mind just by describing it through text prompts isn't always easy.

On the other hand, VBA's UserForm designer lets you create exactly the GUI you want simply by using your mouse. It's incredibly intuitive and convenient.

VBA-UserForm-Transpiler was created to bring that convenience to other programming languages.

Currently, it supports transpiling VBA UserForms into:

・Python (Tkinter)

・PowerShell (WinForms)

・HTML

You can check out the project here:

https://github.com/ZeeZeX/VBA-UserForm-Transpiler

I'd love to hear your thoughts and feedback! Thanks for checking it out!


r/vba • • 20d ago

Weekly Recap This Week's /r/VBA Recap for the week of October 31 - November 06, 2026

4 Upvotes

Saturday, October 31 - Friday, November 06, 2026

Top 5 Posts

scorecommentstitle & link
150 comments[Show & Tell] [TOOL] USB DriveRescuer V1.0 – A professional VBA utility to restore lost .CHK files from FOUND.000 folders
131 comments[Show & Tell] A native VBA Regex engine: speed up and correctness.
126 comments[Show & Tell] [ACCESS] Metadata-driven Excel report compiler using SQL, VBA, and COM automation
40 comments[ProTip] Running cross platform VBA code: ASF — MS Office, LibreOffice
41 comments[Weekly Recap] This Week's /r/VBA Recap for the week of October 24 - October 30, 2026

 

Top 5 Comments

scorecomment
6/u/sancarn said /preview/pre/xcf2zmimuwyh1.png?width=956&format=png&auto=webp&s=4319f850a5df22ba2b7e81d9ee43e2294dbd0825 As an experiment, I've built a native variant using thunks... mental
3/u/rdcore-admin said Ohh nice!! See this is part of the things that make this new era of AI-assisted open-source so awesome! I made the repo read-only upstream to focus on RDCore (progressing very well!), but I'm...

 


r/vba • • 22d ago

Show & Tell SeleniumVBA - XPath Generator 2.0 (Excel) NOT SeleniumBasic

5 Upvotes

Hello gamers, and welcome back to the channel! In this video, I am migrating all my Excel tools from Selenium Basic over to Selenium VBA, starting with this tool right here: the Selenium VBA - XPath Generator 2.0.xlsm. Let’s be honest—the old legacy Selenium Basic hasn’t been updated since 2016, and it’s really starting to show its age. One of the biggest headaches with the old version was constantly having to download and replace web drivers manually, every single time your browser updated. But with this new Selenium VBA framework, those days are over. It handles driver updates automatically in the background, giving you vastly better browser handling, smoother execution, and a completely seamless automation experience.

https://youtu.be/y1z21jGsfGI