Result

Top  Previous  Next

CodeShine changes the code to this:

 

summer4

 

At this point, you would probably just combine the lines "If summer _ " and "Then" into "If summer Then".

 

However, this summer calculation seems like something that might be more generally usable. So, you might want to choose Undo from CodeShine's menu and start over, using Extract Function instead.