Hi there! I'm trying to get randomized numbers (R2:R61) to match up with their corresponding card name ('-Deck construction-'!J3:J62) and then print all
the cards at (B2:B61) down the row.
VB will only generate 5 cards, then it tells me that the code is too large to process.' Generate Card 1
If Worksheets(2).Range("R2").Value = 1 Then Worksheets(2).Range("B2").Value = Worksheets(1).Range("J2")
If Worksheets(2).Range("R2").Value = 2 Then Worksheets(2).Range("B2").Value = Worksheets(1).Range("J3")
...
If Worksheets(2).Range("R2").Value = 59 Then Worksheets(2).Range("B2").Value = Worksheets(1).Range("J60")
If Worksheets(2).Range("R2").Value = 60 Then Worksheets(2).Range("B2").Value = Worksheets(1).Range("J61")
Also my project (hobby more so) is available for download. It's still in the bare-bones state and will like criticism that'll help me. Thanks! I'm guessing a loop of some type would be used, but that's all I (think I do) know
Bookmarks