bunchukokoy wrote:May I just ask if anyone knows a utility which can convert worksheets of an Excel file specifically .xlsx format? And a utility that can convert hidden worksheets into .txt files.
What I have now is a utility to convert Excel files of .xls format only. And it prompts an error if a workbook being converted has hidden sheets in it. Please help.
Anyone who has a utility?
I'd be extremely surprised if the utility that you have couldn't work with .xlsx files. It's
very unlikely that any utility would be working directly with the data file itself; there's just no point in doing that. It would be far more likely to be loading the file into an Excel session (and if you aren't seeing this happen, it could just as easily be doing this via a hidden session launched via automation), then simply doing a Save As command to export each sheet into text format.
There's no reason why the Excel session couldn't load an .xlsx if it's 2007 or 2010, or even earlier versions if the converter has been installed. Once it's loaded, there's really no difference between the two types if you're staying within the 65536 row *256 column limitations of an .xls. (If the data in your .xlsx isn't, that could be where you have a problem if your utility isn't designed to deal with that.)
That aside, if it can load the workbook, it can iterate through the sheets
unless... the .xlsx file has the workbook structure protected.
I'd suggest manually loading the workbook, then checking the protection state of the workbook (as well as whether it's an "oversized" one. (It's on the Review tab in Excel 2010, which of course is very intuitive.

) If it's protected, unprotect it. If you're prompted for a password,
that will probably be why your utility is erroring out, not the fact that the file is in .xlsx format.