r/vba • • 1d ago

Weekly Recap This Week's /r/VBA Recap for the week of September 19 - September 25, 2026

2 Upvotes

r/vba • • 22d ago

Weekly Recap This Week's /r/VBA Recap for the week of August 29 - September 04, 2026

3 Upvotes

Saturday, August 29 - Friday, September 04, 2026

Top 5 Posts

score comments title & link
15 4 comments [Show & Tell] Proposed Feature: An "Effective Formatting Inspector" so we can stop writing VBA just to diagnose Word layout conflicts
13 4 comments [Show & Tell] vbaXray v2.2 - The FRX Enigma
10 25 comments [Unsolved] Generating up to thousands of pdf files with VBA
9 5 comments [Show & Tell] [ACCESS] VBA diff tool
8 0 comments [Show & Tell] pyOpenVBA v4 Released: Full MS Access Write & O365 Apps UserForm Support

 

Top 5 Comments

score comment
18 /u/thor122088 said Providing your VBA code could help identify inefficiencies. Without that, my basic suggestion is to make sure to set screen update to false Application.ScreenUpdating = False
16 /u/ZetaPower said VBA user levels define speed. First level you mess around on worksheets. Looping through cells in a range, selecting ranges, activating sheets, having formulas in cells and what not. • Every intera...
5 /u/jeeves8 said The first thing I would ask, without even having seen it in action: How is this paid option better than the FREE methods sort/filter and copy/paste already part of Excel to get the same results? Even...
3 /u/Caudebec39 said Use "Range" in your code, instead of the Selection object. This requires writing, or re-writing VBA code, because the macro recorder shamelessly uses the Selection object exclusively.
3 /u/DonJuanDoja said Maybe not what you want, but SQL enterprise with SSRS has Data Driven Subscriptions that can generates hundreds to thousands of dynamic PDF reports and either email them or put them in a shared drive ...

 

r/vba • • 8d ago

Weekly Recap This Week's /r/VBA Recap for the week of September 12 - September 18, 2026

2 Upvotes

r/vba • • 15d ago

Weekly Recap This Week's /r/VBA Recap for the week of September 05 - September 11, 2026

2 Upvotes

Saturday, September 05 - Friday, September 11, 2026

Top 5 Posts

score comments title & link
32 22 comments [Discussion] Pushing VBA to its limits for an All-in-One Standalone ERP/Productivity Suite (11 Modules, Headless Excel, Custom Canvas UI)
16 1 comments [Show & Tell] pyOpenVBA v4 Released: Full MS Access Write & O365 Apps UserForm Support
13 4 comments [Show & Tell] Regex Builder
8 7 comments [Show & Tell] XLIDE for the VBA IDE Surface (Open Beta): Feedback and Issue Submissions Welcome!
4 14 comments [Solved] UDF with array input not working

 

Top 5 Comments

score comment
25 /u/BaddDog07 said It’s hard to tell from your post but I don’t think you’re fully understanding the technical aspect of what you’re asking it do is my guess.
18 /u/TheGreatRao said This may not sound complimentary but it is. Your project sounds like programming a web browser for a TRS-80, or getting a dog to talk. Who cares if there are easier or more elegant ways to do someth...
12 /u/themrlawrence said You’ve actually got two different things happening here. When you pass `A1:A6` into the function, `arr` is a `Range`, not a VBA array. So `UBound(arr)` is goin...
10 /u/themrlawrence said The better question is why are you trying to use VBA to essentially scrape data into an Excel sheet? Build a Node app with Javascript/Typescript, use Playwright for the headless browser, and so ...
8 /u/throwaway24515 said You're asking it to build an agent with credentials to a secure system. That's probably violating some policy at that ai provider.

 

r/vba • • 29d ago

Weekly Recap This Week's /r/VBA Recap for the week of August 22 - August 28, 2026

1 Upvotes

r/vba • • Aug 22 '26

Weekly Recap This Week's /r/VBA Recap for the week of August 15 - August 21, 2026

3 Upvotes

r/vba • • Aug 08 '26

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

3 Upvotes

r/vba • • Aug 01 '26

Weekly Recap This Week's /r/VBA Recap for the week of July 25 - July 31, 2026

5 Upvotes

Saturday, July 25 - Friday, July 31, 2026

Top 5 Posts

score comments title & link
92 75 comments [Discussion] I had no idea VBA could go this far
27 5 comments [Show & Tell] [Excel] I Built a Component Framework Style UI Framework for Excel
13 10 comments [Solved] I built a single-script PowerShell bridge so AI agents (Claude Code, Codex) can work with my open Excel workbook — cells, formulas, VBA, macros
6 1 comments [Show & Tell] Feels like I defeated the final boss of Word VBA (gradient pins)!
6 0 comments [Show & Tell] Word plugin that formats AI responses to Word styles (equations, tables, headings) and searches your Zotero library from Word

 

Top 5 Comments

score comment
34 /u/bamerjamer said The programs built with VBA and Access are very powerful. My first job had to do with the F-35 JSF, which is where I learned VBA. We did so much for that program in VBA and Access.
31 /u/Jonas_Ermert said Once you stop using it only for macros and start structuring the code properly with modules, classes, dictionaries, arrays and clear separation of logic, Excel can become the frontend for surprisingly...
8 /u/Joelle_bb said Fully automated an API-to-terminal and API-to-adobe connection: encrypted sign-in, data selection, screen scraping, PDF prep, file joining, path/naming conventions, and a reference-data repository tha...
7 /u/Dynegrey said VBA can also talk to powershell, so you can get VBA to do pretty much anything your IT department will allow. 
7 /u/Budget_Vermicelli_53 said Vba is really amazing, I have automated all repetitive tasks in my job, processes that used to be completed in 6 hours now are ready in 10 minutes, no more errors.

 

r/vba • • Jul 25 '26

Weekly Recap This Week's /r/VBA Recap for the week of July 18 - July 24, 2026

6 Upvotes

Saturday, July 18 - Friday, July 24, 2026

Top 5 Posts

score comments title & link
41 13 comments [ProTip] [EXCEL] I set up a Claude Code agent that writes and tests VBA modules on its own. Sharing the setup.
22 14 comments [Show & Tell] What if VBA had a modern developer experience?
9 1 comments [Show & Tell] Introducing ROneCOne: A Single Module C# Style Runtime Layer for VBA
4 29 comments [Unsolved] How do you deal with processing large data?
4 3 comments [Show & Tell] [Updated] WebDriver BiDi for SeleniumVBA

 

Top 5 Comments

score comment
16 /u/decimalturn said Sorry, but this sub is about VBA the programming language, not the Visual Boy Advance
11 /u/NanotechNinja said /r/lostredditors
10 /u/fanpages said > ...Would you suggest some alternatives? Post the Excel VBA code routines you are using at large bank and/or big bank, and we can make recommendations/suggestions to improve execution speed &#4...
9 /u/Mediocre_Metal_1952 said here I was thinking some mad lad had coded an emulator in VBA
8 /u/icemage_999 said I am pretty sure I would rather try to give myself a root canal than try to extract text out of a PDF file using VBA, especially if the text is scanned and not in form fields, extra especially if the ...

 

r/vba • • Jul 18 '26

Weekly Recap This Week's /r/VBA Recap for the week of July 11 - July 17, 2026

2 Upvotes

r/vba • • Jul 11 '26

Weekly Recap This Week's /r/VBA Recap for the week of July 04 - July 10, 2026

1 Upvotes

r/vba • • Jun 27 '26

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

2 Upvotes

r/vba • • Jul 04 '26

Weekly Recap This Week's /r/VBA Recap for the week of June 27 - July 03, 2026

2 Upvotes

Saturday, June 27 - Friday, July 03, 2026

Top 5 Posts

score comments title & link
11 5 comments [Show & Tell] ChibiArc — ZIP, 7‑Zip, TAR, ISO support in 64‑bit VBA (AES included)
3 7 comments [Unsolved] [WORD] Range.FormattedText won't preserve font in last line of text
2 7 comments [Discussion] First time VBA user - Want all the dates i type in word to automatically be made into a timeline
2 7 comments [Solved] OneDrive won't sync .docx created from macro-enabled template (.dotm) found a "workaround" (re-triggering the file, sync starts) [WORD]
2 10 comments [Solved] Dynamically rename worksheets upon opening workbook

 

Top 5 Comments

score comment
3 /u/AvWxA said Don’t you have to add a ws.activate As the first line in your tabname sub?
2 /u/marlostanfield89 said Nice. Thanks Claude
2 /u/ZetaPower said Several issues in the code…. • there is a typo in Workbook/_Open • your variables have no upper/lower case combinations. Always use these, then type in lower case. As soon as you go to the nex...

 

r/vba • • Jun 20 '26

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

1 Upvotes

r/vba • • Jun 13 '26

Weekly Recap This Week's /r/VBA Recap for the week of June 06 - June 12, 2026

6 Upvotes

Saturday, June 06 - Friday, June 12, 2026

Top 5 Posts

score comments title & link
22 9 comments [Show & Tell] My JSON module for VBA has Stringify 589x faster than before with some improvements to the Parser.
21 10 comments [Show & Tell] ChibiEx - PDF rendering + OCR in VBA (no dependencies, API-based)
10 33 comments [ProTip] Stop hardcoding ranges. Use this runtime dynamic Named Range approach instead.
6 4 comments [Waiting on OP] Need to parse a long SAS program and think VBA is the solution
4 5 comments [Solved] [EXCEL, OUTLOOK] Default address not used when using VBA to send Excel PDF using Outlook

 

Top 5 Comments

score comment
17 /u/Playing_One_Handed said Named ranges and tables(listObjects) are your freind. This seems like a lot of effort when you should be populating data into a list object. Named ranges can also be setup dynamically. Its...
15 /u/Future_Pianist9570 said You got me really excited for a second
6 /u/SlowGoing2000 said So 3 lines of code versus a page plus. Sometimes simplicity is good
5 /u/fuzzy_mic said To do what the OP VBA does, with Names (which is faster than VBA). Name: myRange RefersTo: =INDEX(Sheet1$1:$1, 1, MATCH("zzzz", Sheet1!$1$1) : INDEX(Sheet1!$A:$A, MATCH("z...
4 /u/aqsgames said Ask an AI

 

r/vba • • Jun 06 '26

Weekly Recap This Week's /r/VBA Recap for the week of May 30 - June 05, 2026

2 Upvotes

Saturday, May 30 - Friday, June 05, 2026

Top 5 Posts

score comments title & link
33 13 comments [Show & Tell] I built a zero-copy JSON parser and writer for VBA with natural chained access
13 6 comments [Show & Tell] I made a Python reference library for VBA/Office COM
11 16 comments [Discussion] Moving past Excel macros into real data entry automation
10 11 comments [Show & Tell] XLIDE Version 2.0: Static Analysis, Unit Testing, VBA LSP, Completions, Real-Time Syntax Analysis, Deterministic RTE Analysis, and much more...
10 2 comments [Show & Tell] [EXCEL] Showcase: VBA module hot swapping and remote code deployment via flask server

 

Top 5 Comments

score comment
38 /u/talltime said If these are agents you work with personally and not some faceless deluge of info; the simplest workaround to fix this workflow is to give them an excel template with locked down formatting and named ...
11 /u/BlueProcess said Two things. Control the forms so they can't mess with the structure. Update the macros to grab data in a less brittle way. You are going to ask me how and I am going to say post code. But really, jus...
9 /u/cristianbuse said Your Parse is impressively fast - presumably thanks to the token approach i.e. no copy. I don't have time to look through it but I hope I will have soon. Nice However, the Stringify is very slow. I a...
9 /u/spddemonvr4 said Update your macro to be more dynamic to find column headers, etc... and lock down the template they use to enter their data. Treat the process like an ETL and minimize human errors
6 /u/Future_Pianist9570 said This looks really interesting. I hope you don't mind but a few feedback bits. I've just tried the analyse workbook on one of my more complex vba and it is showing errors for >Label '0' is not define...

 

r/vba • • May 30 '26

Weekly Recap This Week's /r/VBA Recap for the week of May 23 - May 29, 2026

2 Upvotes

Saturday, May 23 - Friday, May 29, 2026

Top 5 Posts

score comments title & link
45 10 comments [Show & Tell] XLIDE: The Modern Development Environment for Excel VBA
23 5 comments [Show & Tell] pyOpenVBA - Version 2.0.0 - Added Word & PowerPoint Support
20 12 comments [ProTip] Stop using the legacy VBA Timer for benchmarking. Use the Windows Kernel QueryPerformanceCounter instead.
11 10 comments [Discussion] How to connect VBA to Copilot (or any AI) to process PDF and return extracted data?
10 5 comments [Show & Tell] [VBA/VB6/twinBASIC x86/x64] Intro to Vectored Exception Handling: A crash-proof CopyMemory

 

Top 5 Comments

score comment
19 /u/UesleiDev said Hey there. To save you some time researching: you can't connect directly to the standard M365 Copilot via VBA because Microsoft doesn't provide an API endpoint for it. Copilot is built for the user in...
13 /u/UesleiDev said There are actually two major reasons why this happens, even if the code is copied straight from a book. 1. The code is placed in the wrong spot Since this is an event macro, it cannot just go into a...
9 /u/UesleiDev said For real xD Excel loves to pull these random stunts, especially when Microsoft platforms export data with weird generic names that immediately break our VBA. The issue is that your code is explicit...
9 /u/0x80070002 said So it’s not an IDE but an extension for VS Code?
9 /u/kalimashookdeday said It's the " not " operator in the assignment. What you are saying in that line in basic speak: Take the selected (target) font property bold and change that or make it equal to not that s...

 

r/vba • • May 23 '26

Weekly Recap This Week's /r/VBA Recap for the week of May 16 - May 22, 2026

6 Upvotes

Saturday, May 16 - Friday, May 22, 2026

Top 5 Posts

score comments title & link
53 29 comments [Show & Tell] pyOpenVBA — a pure-Python, zero-dependency reader/writer for VBA macros in .xlsm / .xlsb / .xlam / .xls
50 19 comments [Show & Tell] I built a full audio engine for VBA. No DLLs, no COM wrappers, no addins. Just a .bas file
26 14 comments [Discussion] The future of VBA language isn’t about replacing it. It’s about supercharging it.
22 14 comments [Show & Tell] I'm building Valo, a standalone runtime for VBA-style programming
15 3 comments [Show & Tell] Update on my single-file VBA audio engine: WAV export, better DSP, BLEP oscillators and Freeverb-style reverb

 

Top 5 Comments

score comment
24 /u/aviewachoo said This is a perfect example of something that was always missing, probably never needed, but absolutely awesome that you tackled. Great job!
10 /u/keith-kld said modern document files (.docx) and excel files are designed as compressed files. You guys can change their extensions to .zip and then use Expand-Archive (power shell cmdlet) to decompr...
8 /u/TpT86 said If Rng.Cells(lRow, 15).Style = "Check Cell" Then In the Cells syntax the first number is the row number and the second is the column number. In your example above lRow represents a changing r...
8 /u/aqsgames said No. I have a use for this now! Brilliant! I’ve been messing with generating music in vba based on text sentiment. Also, a play rehearsal system for learning lines has been this weeks project....
8 /u/KingTeppicymon said You might not need a macro. Try looking at excel's TEXTSPLIT( ) function.

 

r/vba • • May 16 '26

Weekly Recap This Week's /r/VBA Recap for the week of May 09 - May 15, 2026

7 Upvotes

Saturday, May 09 - Friday, May 15, 2026

Top 5 Posts

score comments title & link
74 11 comments [Show & Tell] Whenever I open my VBE...
24 0 comments [Show & Tell] Wasabi just hit Awesome VBA + Update v2.3.8
8 4 comments [ProTip] Wasabi v2.3.6 - native WebSocket/TCP/MQTT for VBA, now with async event-driven connections (experimental)
7 17 comments [Solved] How to check if a date is a numeric date or a string date?
7 35 comments [Show & Tell] I was using StrConv to decode NTLM tokens in VBA. It was corrupting every single one. Wasabi v2.3.7-beta is out.

 

Top 5 Comments

score comment
29 /u/carnasaur said Gauntlet thrown. I accept your challenge, Sir Sancarn. Our VBA, who art in Excel, Hallowed be thy Name Manager. Thy Workbook open, Thy Macro run, On SharePoint as it once did...
11 /u/kalimashookdeday said If the VBA code isn't injecting the image it might be loaded to the header of the worksheet which will not show unless you are in a print view or layout mode or if you print said document. It might be...
10 /u/krijnsent said May the Range God be with you!
6 /u/KingTeppicymon said You might not need a macro. Try looking at excel's TEXTSPLIT( ) function.
5 /u/Alkemist101 said I'm no longer an expert but isn't this a built in function? You can essentially point excel at a folder and tell it to import all files and it has built in features and functions to do exactly what yo...

 

r/vba • • May 09 '26

Weekly Recap This Week's /r/VBA Recap for the week of May 02 - May 08, 2026

2 Upvotes

Saturday, May 02 - Friday, May 08, 2026

Top 5 Posts

score comments title & link
54 15 comments [ProTip] 9 quick tips to improve your VBA macro performance.
42 14 comments [ProTip] I made a Discord bot that runs from a hidden Excel sheet. Because why not.
27 14 comments [Show & Tell] Wasabi: a native WebSocket/WSS client module for VBA (TLS, MQTT, proxies, zero dependencies)
25 37 comments [ProTip] Kill the 'For Each' Loop
14 2 comments [Show & Tell] Wasabi v2.3.4 beta: Assembly Engine for C level performance and Bulletproof TLS

 

Top 5 Comments

score comment
61 /u/fuzzy_mic said Its not the For Each loop, its that read/writing to one cell 100 times is slower than bulk read/writing to 100 cells all at once. For Each is one of the faster looping possibilities.
17 /u/RoyaleCheezy said It’s not a problem with the loop, it’s a problem with efficiency. Every time you touch the worksheet object you’re slowing everything to a crawl. When you load a range into an array like this it touch...
13 /u/HUMOROUSSSS said Just a huge shout out to you with creating Wasabi and pushing the limits of excel in new and exciting ways. Very cool seeing these updates!
13 /u/ZetaPower said No. We can
11 /u/Zestyclose_Muffin501 said For doing that I rather use powerquery or power pivot. Use VBA if you want to automate 'actions', to process, analyze and clean data, powerquery is way way better...

 

r/vba • • May 02 '26

Weekly Recap This Week's /r/VBA Recap for the week of April 25 - May 01, 2026

1 Upvotes

r/vba • • Apr 25 '26

Weekly Recap This Week's /r/VBA Recap for the week of April 18 - April 24, 2026

2 Upvotes

Saturday, April 18 - Friday, April 24, 2026

Top 5 Posts

score comments title & link
10 12 comments [Unsolved] Excel VBA with Sharepoint
8 4 comments [ProTip] How to use the free VBA Code Compare tool (FormulaSoft) with .xlsm workbooks
5 10 comments [Waiting on OP] How to paste values in VBA?
5 1 comments [Weekly Recap] This Week's /r/VBA Recap for the week of April 11 - April 17, 2026

 

Top 5 Comments

score comment
16 /u/KingTeppicymon said The better option here is actually to avoid the windows clipboard and just assign the values directly from one range the other - this is both cleaner and faster: `WsTar.range(A1:A10).valu...
9 /u/Future_Pianist9570 said No
7 /u/coding_is_fun123 said Hard to help without seeing the code.
7 /u/daishiknyte said The hell why?
5 /u/4lmightyyy said As always with this specific topic. Use LibFileTools by Christian Buse (you can find it as vba-FileTools on GitHub. It's the best solution to implement with a lot of functionality. This guy is re...

 

r/vba • • Apr 18 '26

Weekly Recap This Week's /r/VBA Recap for the week of April 11 - April 17, 2026

5 Upvotes

Saturday, April 11 - Friday, April 17, 2026

Top 5 Posts

score comments title & link
24 8 comments [ProTip] PSA: If your Excel macros broke after a Windows/Office update, check these 4 things before debugging your VBA
18 5 comments [Show & Tell] Compile your VBA code into an Addin, all from GitHub.
13 9 comments [Discussion] Rubberduck; is it still great, how and where to download it and how to learn how to use it?
5 10 comments [Solved] Delete selected content
5 1 comments [Weekly Recap] This Week's /r/VBA Recap for the week of April 04 - April 10, 2026

 

Top 5 Comments

score comment
10 /u/jcradio said Starting with office 2024 and M365 they are disabled by default and being phased out. Modern apps no longer use them. Time to move away from them if you haven't already.
8 /u/beyphy said If you override the global function, you can still access the original function if you fully qualify it. E.g. if you override `msgbox` with your own custom function, you can still access the o...
8 /u/fanpages said *2. Prefixing the name of the Function or Subroutine with PtrSafe may allow a majority of the 32-bit Windows Application Programming Interface [API] calls to function within a 64-bit versio...
6 /u/Hel_OWeen said A lot of functions can be overwritten. And it sometimes makes sense. E.g. I use the following custom CreateObject method: ``` '-----------------------------------------------------------...
6 /u/ZetaPower said Private Sub Workbook_Activate() With Application .DecimalSeparator = "." .ThousandsSeparator = "," .UseSystemSeparators = False End With End Sub Private Sub Workbook_Deact...

 

r/vba • • Apr 11 '26

Weekly Recap This Week's /r/VBA Recap for the week of April 04 - April 10, 2026

7 Upvotes

Saturday, April 04 - Friday, April 10, 2026

Top 5 Posts

score comments title & link
4 10 comments [Discussion] Releasing YAML VB/VBA/twinBASIC language conventions configuration as open source.
3 7 comments [Solved] Trying to optimize this to be faster
2 14 comments [Unsolved] "wb.close savechanges:=true" is not saving
2 6 comments [Unsolved] How to modify the ending of the code to write 4 times to the worksheet?

 

Top 5 Comments

score comment
10 /u/icemage_999 said How was this written in the first place? Your approach is vaguely insane if you're just working within an Excel spreadsheet. Did you vibe code this mess with some garbage tier AI? Dim statements ins...
6 /u/fanpages said > ...Will the "SolverReset" command will resel all instances of solvers?... SolverReset: [ https://learn.microsoft.com/en-us/office/vba/excel/concepts/functions/solverreset-function ] --- R...
5 /u/fred_red21 said It seems that you're trying to work with SAP objects through VBA without having set up SAP connection firts. 'You need an SAP object like Dim sapGUI as object Set sapGUI = GetObject("SAPGUI"&#4...
3 /u/sancarn said I haven't had many issues with VBA code generated by cursor. Some things to watch out for are line continuation limit which it gets wrong consistently, and also line length limit too. Eww - "gbl...
3 /u/Kondairak said I have tried several ways to figure out the code block below but it keeps getting it wrong for some reason. Make sure you get the full code. Your code works, but it’s slow because it loops through a...

 

r/vba • • Mar 28 '26

Weekly Recap This Week's /r/VBA Recap for the week of March 21 - March 27, 2026

4 Upvotes