Move WriteHeader call to support multiple sheets