Option Strict doesn't require specifying data types, only that you declare variables. For your problem you just need, like Stewart said, a nested For loop. That's how you do grids. If it's not working you have something wrong.