spill-the-beans
Board Regular
- Joined
- Feb 7, 2013
- Messages
- 52
Hello,
I'm trying to make some code that will let me select the active workbook (which is a txt file) and save the first worksheet page (the only page with data in that workbook) as an excel file, then close the file.
Would it be possible to code that so that no file names are specified? Seeing as I want the excel file the same name as whatever the worksheet is called. That way, I can just run the code on all open workbooks instead of having to click through them all. If anyone has any idea that could help, I'd really appreciate your advice.
I'm trying to make some code that will let me select the active workbook (which is a txt file) and save the first worksheet page (the only page with data in that workbook) as an excel file, then close the file.
Would it be possible to code that so that no file names are specified? Seeing as I want the excel file the same name as whatever the worksheet is called. That way, I can just run the code on all open workbooks instead of having to click through them all. If anyone has any idea that could help, I'd really appreciate your advice.