private void OpenOrCreateWorkbook(string filename) { if (File.Exists(filename)) OpenWorkbook(filename); else CreateWorkbook(filename); }