I'm working on using excel to program a board game (I know it's outside the usual function but it should be capable of it)
As part of the program I need to rotate a 15 by 15 tile. However most of the cells will be the same irrespective of the particular tile and orientation.
The centre 7x7 of the tile can either spin or not (i have no preference but not spinning it seems faster).
I have 2 codes that work but they're both very slow. Am I missing something obvious?
The tile I am rotating is in ("DL50:DZ64")
I am using the space ("EE50:ES64") to hold a spare copy while rotating
Faster code
simpler to change but slower CodePlease Login or Register to view this content.
With the second code, StartTile and EndTile are only called twice or once respectively so they possibly don't need to be initiated as variables however that would lose some of its flexibility but even without that it takes several seconds to run. Am I missing something obvious?Please Login or Register to view this content.
Bookmarks