Solve this problem in VB Excel:
Q. Print matrix elements as spiral order (in clockwise direction as given in example) beginning from the center position of n x n order.
Also print the color formatting as given in example.
Here example of n = 5 ie., 5 x 5 order: