Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

open file created by shell error #3

Closed
gitlsl opened this issue May 7, 2018 · 1 comment
Closed

open file created by shell error #3

gitlsl opened this issue May 7, 2018 · 1 comment
Assignees
Labels

Comments

@gitlsl
Copy link

gitlsl commented May 7, 2018

public void NewItemTest()

above code create an excel , but can not open success (0 bytes)

@dahall
Copy link
Owner

dahall commented May 7, 2018

This method will always create 0 byte files, regardless of type. In order to create a valid Excel file, you will need to use the Microsoft Office API.

@dahall dahall closed this as completed May 7, 2018
@dahall dahall self-assigned this May 7, 2018
@dahall dahall added the question label May 7, 2018
dahall pushed a commit that referenced this issue Apr 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants