Excel 3d Maze Update!

Pedro Wave made a few updates to the 3d Maze spreadsheet that I really love.

image

Please download the latest version to see them for yourself. Also, be sure to checkout his blog.

maze-example.xlsm

Advertisements

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!

    Reply
    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
      cell.interior…
      next

      rather, do this:

      SomeRange.Interior…

      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).

      Reply
      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 )

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s