![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: Apr 2002
Posts: 2
|
I just created this file today using the Text Import Wizard. Even thought I click on Save, the Save As dialog box comes up. It says, "The file
|
|
|
|
|
|
#2 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Austin, Texas USA
Posts: 11,654
|
You're inadvertantly saving your imported data back to disk as a tab delimited text file (.txt). That's why Excel is warning you that you're gonna loose formatting, formulas, etc. Just change the Save as type to .xls.
|
|
|
|
|
|
#3 |
|
New Member
Join Date: Apr 2002
Posts: 2
|
Thank you!!!! I was putting an xls on the end, but it didn’t recognize it. In the Save As box, it has a dropdown for file type. When I selected Microsoft Excel Workbook (*.xls), it was OK!!!!
|
|
|
|
|
|
#4 |
|
Board Regular
Join Date: Sep 2002
Posts: 66
|
is there a way to make this automated. I have a file that comes in "Microsoft Excel 5.0/95 Workbook". its modified by macros that merge and do various other formatting. The formatting will be lost if the user does not chose "Microsoft Excel Workbook" as the save as type... and many times the user is lazy.... is there a way to make the save as type change via a macro?
|
|
|
|
|
|
#5 |
|
MrExcel MVP
Moderator Join Date: May 2003
Location: Boulder Creek, CA
Posts: 23,704
|
Look at the Save As Method in the VBA help file & follow the link to File Format.
You can put the Save routine that you need in a Workbook_BeforeClose(Cancel As Boolean) event to automate the save process. HTH, Smitty |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|