![]() |
![]() |
|
|||||||
| 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 |
|
Board Regular
Join Date: Apr 2002
Location: Indianapolis
Posts: 80
|
In my file a user pastes data into a sheet. A macro then sorts, formats and otherwise manipulates the data and then puts it into 2 sheets which are ready to print in management approved format. I then eliminate the sheets that are not needed and save the file as the account name (located in a specific cell).
Up to this point (with all the help I've gotten here) it works well and will save us about 75 hours per month. However, when I go to reopen the saved file, Excel crashes. I don't need any macros in this saved file and I think (but what do I know?) that they may be the problem. BTW, Excel crashes whether or not I enable the macros. Other info that may have bearing: Excel 2000, Workbook_Open code on deleted sheet, multiple vba modules. Any suggestions?? Lisa |
|
|
|
|
|
#2 |
|
Legend
Join Date: Feb 2002
Location: Minneapolis, Mn, USA
Posts: 9,704
|
Difficult to say what the damage is, the file is being saved a cell value and ".xls"?
On option settings (tools->options->transition), are you saving as a microsoft excel workbook? How many mb's are these files? I doubt it's the macros, especially if you're disabling them and the file still crashes, but to delete all code see post #2 in the following thread, just don't save over the master: http://www.mrexcel.com/board/viewtop...7068&forum=2&5 _________________ Cheers, NateO [ This Message was edited by: NateO on 2002-05-02 09:00 ] |
|
|
|
|
|
#3 |
|
Legend
Join Date: Feb 2002
Location: Minneapolis, Mn, USA
Posts: 9,704
|
The best advice I can give at this point may be to start over. Deleting sheets and bringing useless vba into a new file sounds overrated. To save a sheet from a workbook with a cell value as the file name use:
For multiple sheets, use:
This way you only take the sheets you want. Maybe this approach will help. _________________ Cheers, NateO [ This Message was edited by: NateO on 2002-05-02 09:26 ] |
|
|
|
|
|
#4 |
|
Board Regular
Join Date: Apr 2002
Location: Indianapolis
Posts: 80
|
Thanks, Nate... I'll try it this way and let you know.
Lisa [ This Message was edited by: Lisa on 2002-05-02 09:34 ] |
|
|
|
|
|
#5 |
|
Board Regular
Join Date: Apr 2002
Location: Indianapolis
Posts: 80
|
Works beautifully!!!
Wish much gratitude... Lisa |
|
|
|
|
|
#6 |
|
Legend
Join Date: Feb 2002
Location: Minneapolis, Mn, USA
Posts: 9,704
|
Working well with no crashes in Indy eh (we were talking on a different thread the other day)! Gotta get back to IU one of these days, how about my Hoosier basketball?
Good hunting. |
|
|
|
|
|
#7 |
|
Board Regular
Join Date: Apr 2002
Location: Indianapolis
Posts: 80
|
Nate -
No crashes, but the track doesn't open until this weekend....ha The cream and crimson took us to the wire this year, didn't they? All the more exciting for being unexpected. Don't know how much JJ going pro will hurt us. Are you a grad? I am. Thanks for all of your help. Got to go clean up a few niggly things in the app. Lisa |
|
|
|
|
|
#8 |
|
Legend
Join Date: Feb 2002
Location: Minneapolis, Mn, USA
Posts: 9,704
|
I am indeed a grad, much to the chagrin of my buddy from Duke a month ago.
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|