File.WriteAllLines
method. Types exist in namespaces and methods exist in types. As for the rest, sheets of what? And you split one into multiple, not multi0ple into one. That's combining, not splitting. Please take the time and make the effort to provide a FULL and CLEAR explanation of the problem, so we don't have to guess or make assumptions.