stdVBA
VBAChromeDevProtocol
Our great sponsors
stdVBA | VBAChromeDevProtocol | |
---|---|---|
46 | 4 | |
147 | 23 | |
- | - | |
7.0 | 7.9 | |
28 days ago | 7 days ago | |
VBA | VBA | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
stdVBA
-
Find 'Keys', and count and/or change invalid referential values in a Range
Typically I use my stdEnumerator and stdLambda class for this:
-
Worst and best of VBA
Aha motivations for stdVBA which is a library I made. It resolves some of these points in some ways. E.G. stdLambda acts as a Lambda syntax for VBA. stdCallback allows you to ripe the benefits of first class functions, without those functions existing.
-
VBA like a proper dev?
my own stdVBA and some examples at stdVBA-UI
-
Click a button on the ribbon
As you can see sometimes these techniques can get rather complicated, however in reality most of the complexities of this task can be hidden behind an abstraction. This is where I suggest the use of the stdVBA library. This library (created by myself) contains some simple abstractions of the IAccessible API and work in conjunction with stdLambda to help you create small utilities like the above, with very little effort:
-
I give up.
Uses stdVBA's stdAcc library, but works a charm! :D
-
Using Mail Merge and VBA to create a merge that pulls from multiple rows that have a matching cell
You'd need to download stdLambda, stdEnumerator and stdICallable and import these into your VBA library in order to work with them.
-
I created a fluent unit testing framework in VBA
There're numerous unit testors out there already. I do find it interesting as to why many prefer this result.equalTo(3) compared to result = 3. My own is a single class and goes down the Test.Assert message, x=y route. As a result most of my tests look like:
-
tips to improve speed - general
Yes, i created it as part of stdVBA
-
VBA And The WebDriver Dilemma
For sharepoint you need to use SOAP. I've got a small example here
-
Evaluating expressions from strings in VBA
At that point, I decided to try the fabulous stdLambda tool, developed by u/sancarn. I found that stdLambda correctly evaluated all the corner cases that made Volpi's class fail. This fact excited me, so I decided to measure the time it took to evaluate an expression with variables, noticing that the u/sancarn library was quite efficient. At that point, I started to measure the performance by evaluating functions like sin, cos, tan, abs, the results seemed strange to me when I noticed that the performance was almost 50 times lower when compared to the results obtained when measuring the performance by evaluating expressions without calls to built-in functions.
VBAChromeDevProtocol
What are some alternatives?
ECPTextStream - ECPTextStream is a VBA text buffered reader designed to manage text streams in Microsoft Office applications, from VBA.
VBA-CSV-interface - The most powerful and comprehensive CSV/TSV/DSV data management library for VBA, providing parsing/writing capabilities compliant with RFC-4180 specifications and a complete set of tools for manipulating records, fields and files.
Rubberduck - Every programmer needs a rubberduck. COM add-in for the VBA & VB6 IDE (VBE).
VBA-JSON-parser - Backus-Naur Form JSON Parser based on RegEx for VBA
VBA-Unit-Tester
VBA-SQL-Library - Object-based Database Interaction for VBA. Create SQL Statements with VBA objects instead of string concatination.
QueryCsvToExcel - Provides VBA code for executing a SQL query on a CSV file to import data into a worksheet in Excel
VBA-ExtendedDictionary - Dictionary object that extends the Scripting.Dictionary
VBAPackager - A cross-platform assistant for creating malicious MS Office documents. Can hide VBA macros, stomp VBA code (via P-Code) and confuse macro analysis tools. Runs on Linux, OSX and Windows.
VBA-Expressions - A powerful mathematical and string expressions evaluator for VBA.
ExceLint - Finds formula errors in spreadsheets (plugin for Microsoft Excel)
stdVBA-Compiler - VBA-like source to VBA source code compiler