3 thoughts on “Excel 3d Maze Update!

  1. Marty Egan

    Great articles! I have learnt a lot from your approach, many thanks. I have a question for you: Rapid updating of cells is very important in game development, what are your thoughts on the quickest way to update a cell’s format based on rapidly changing variables: Cell conditional formatting, use vba to format interior, use vba to apply different cell styles. Your thoughts would be greatly appreciated!

    1. Jordan G Post author

      Hmmm. I mean, I’m in the habit of trying everything and then comparing the results. From the outset, the quickest way would be to change a cell’s interior. In fact, if you have many cells to modify, the even quicker way is to change as many cells as you can with on action rather than iterating through each cell in the list.

      i.e. don’t do this:

      For each cell in SomeRange

      rather, do this:


      Styles are heavyweight, so they’re not my favorite option. Conditional formatting changes trigger recalculations, so in theory, they should be slowest and least preferable. That said, if you’re looking for speed, sometimes the bottleneck is because of how the spreadsheet is laid and not due to individual actions (such as triggering recalcs).

      1. Marty Egan

        Thanks Jordan, I like the range.interior option, especially in conjunction with SomeRange.SpecialCells(xlCellType ….).Interior. Much appreciated, Marty

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s