Removed unused variable.
Enabled excel format and borders.
Formatted code in Xamarin