|
-
May 17th, 2013, 03:01 PM
#1
Thread Starter
Addicted Member
[RESOLVED] Detecting Excel version
My application allows data to be exported to Excel. I wrote it on a computer with Excel 2007 so it exported files as *.xlsx by default; now I'm opening it on a computer with Excel 2003 and of course that doesn't work and I need to export as *.xls.
My question is: Can I detect the Excel version so that I can automatically have the export form default to the correct filetype?
(Side question: When I originally wrote it on the other computer using Visual Basic.NET, I needed to import Microsoft.Office.Interop. Now, working on it from a different computer using Visual Studio 2012, I don't need to anymore and it yields a warning. Why is that?)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|