TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
spots Knight
NA
35
2.8k
Saving Excel file with _Workbook.SaveAs method problem
Nov 14 2016 6:19 PM
I have code to save a data table to an Excel file using the _Workbook.SaveAs method. When I open the resulting file it says the file type doesn't match and the name displayed at the top of the excel window instead of being the file name, just says Book1.xlsx.
The arguments of the method I'm using are
xlWorkBook.SaveAs(File, Excel.XlFileFormat.xlWorkbookDefault, misValue, misValue, misValue, misValue, Excel.XlSaveAsAccessMode.xlExclusive, misValue, misValue, misValue, misValue, misValue);
Am I missing a setting so when I try to open the file, it automatically recognizes the file as the correct format?
Reply
Answers (
1
)
how to use Round method
About video uploading into server and then play that video.