52 Card Deck Maker

Category:
Office/VBA
Type:
Snippets
Difficulty:
Beginning
Author:
Patrick

Version Compatibility: Visual Basic 6, Visual Basic 5, Visual Basic.NET

More information:
I was playing around with some BlackJack and Poker analysis in Excel. This base code for building a deck of cards will populate a variable with face name, suit, blackjack value, and Poker rankings.

Instructions: Copy the declarations and code below and paste directly into your VB project.

Declarations:

Code: