Linked Questions

20 votes
3 answers
3k views

A while ago I implemented .net's string.Format() method in VB6; it works amazingly well, but I'm sure there has to be a way to make it more efficient. I'll start ...
Mathieu Guindon's user avatar
22 votes
3 answers
3k views

I have put together a naive implementation of a VB6/VBA parser, and I'd like to see if the CR community sees the same things as I see can be improved with this code, before I start refactoring. I've ...
Mathieu Guindon's user avatar
15 votes
3 answers
6k views

VBA's 'Collection' is.... lacking, so, I've been working on a better Collection object that implements many of the features of C#'s Enumerable. This is very much inspired by this question and a follow ...
RubberDuck's user avatar
  • 31.2k
14 votes
4 answers
3k views

Following-up on Creating ADODB Parameters on the fly and pushing the "wrapping" of ADODB a step further, I have written two more classes that allows me to expose methods that don't require a ...
Mathieu Guindon's user avatar
12 votes
3 answers
5k views

VBA's Collection class is lacking so I created a basic List class using Python's as a template. This could make future derived ...
cheezsteak's user avatar
  • 2,421
14 votes
2 answers
2k views

Following-up on this post, I wanted to be able to put a copy of that Excel workbook on a USB key and take it home to keep working on the code a bit (there's more than just one or two tables to ...
Mathieu Guindon's user avatar
10 votes
3 answers
1k views

Consider the following: If myString = "abc" Or myString = "def" [...] Or myString = "xyz" Then In C# when myString == "abc" ...
Mathieu Guindon's user avatar
11 votes
2 answers
1k views

Because I was spoiled with C# and the .NET framework, whenever I have to work with VB6 I feel like something's missing in the language. A little while ago I implemented a ...
Mathieu Guindon's user avatar
10 votes
3 answers
870 views

I was inspired by Me How's question to see how far I could push an imitation of .Net's Enumerable Class. The new functions can obviously handle Collections, but can also handle any collection-type ...
RubberDuck's user avatar
  • 31.2k
8 votes
2 answers
457 views

The goal of my code is to sort data into two categories. It must use a local copy of the initial data from Collar (Top View).csv. My code creates a Collection of items called Collars using the initial ...
clever_trevor's user avatar
8 votes
2 answers
1k views

This question I asked previously mentions a function named BuildControlCollection, which I didn't go into the details of since it wasn't relevant. However, because ...
Kai's user avatar
  • 479
8 votes
1 answer
3k views

This class encapsulates a List<KeyValuePair> (see List<T> implementation here, and ...
Mathieu Guindon's user avatar
12 votes
1 answer
2k views

To Collect or Hash The VBA.Collection has a number of limitations, but it is enumerable and you can refer to items by index or key. But the VBA implementation of a ...
ThunderFrame's user avatar
  • 1,959
6 votes
2 answers
2k views

I'm doing VBA macros and need to use Arrays of values extensively. After the below help from @TonyDallimore on Stack Overflow, I've decided to use nested variant arrays. VBA chrashes when trying to ...
Teeracroptus's user avatar
7 votes
2 answers
521 views

Following up on List<T> implementation for VB6/VBA, I'd like some thoughts about the revisited IsTypeSafe function, below. The previous version pretty much ...
Mathieu Guindon's user avatar

15 30 50 per page