VBA Stack – Using the VBA Stack in Excel

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)

The VBA Stack represents a simple last-in-first-out (LIFO) non-generic collection of objects. The VBA Stack is useful in situations when you want to first process items which were added last.

The VBA Stack can be compared to a stack of cards – you can put cards on top in a certain order but then you are expected to pick them up in the reverse order.

VBA Stack example