Results 1 to 9 of 9

Thread: nononono, Workbook corrupted?

  1. #1

    Thread Starter
    Fanatic Member alkatran's Avatar
    Join Date
    Apr 2002
    Location
    Canada
    Posts
    860

    Resolved nononono, Workbook corrupted?

    I have a workbook that crashes excel as soon as I open it. This has never happened before... I turned on macro virus protection to make sure it wasn't code (it's my workbook)

    Whatever is doing it, it happens right after it tries to update linkes...

    Would saving while my computer was doing other things cause this? (I happened to have some java programs stuck in infinite loops running while I saved, taking up a lot of processor speed)

    Any suggestions? Any hope that 2003 can open it if 97 can't?
    Last edited by alkatran; Dec 2nd, 2004 at 12:10 AM.
    Don't pay attention to this signature, it's contradictory.

  2. #2

    Thread Starter
    Fanatic Member alkatran's Avatar
    Join Date
    Apr 2002
    Location
    Canada
    Posts
    860
    Interesting... there's a " - [Group]" after the workbook name in the title bar... that shouldn't be there? (Before it crashes I can see it clearly)
    Don't pay attention to this signature, it's contradictory.

  3. #3

    Thread Starter
    Fanatic Member alkatran's Avatar
    Join Date
    Apr 2002
    Location
    Canada
    Posts
    860
    I transferred the file to my laptop, which has 2003, and it opened.

    But it wasn't pretty.

    The best I can describe it is that excel though one of the worksheets was a workbook. I had to insert a new worksheet to make it stop thinking I had "multiple objects selected", then I basically copy-pasted and exported all the data to a new workbook. Despite some minor loses on the one worksheet/book I got everything.

    Then I move it back to my PC and opened it in 97... only to realize it did NOT want to convert it back to 97 format. "Do you want to save? You could lose info." (*clicks yes*) "saved" (*clicks save*) "Do you want to save? You could lose info."

    I had to copy-paste/export the whole thing out AGAIN, to a new workbook, before it would work properly again.


    Hats off to microsoft.
    Don't pay attention to this signature, it's contradictory.

  4. #4
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709
    Too bad you didnt have the issue using 2003. In Options > Save
    tab there is the path to the AutoRecover location and the interval
    of the saves.

    I dont have 97 anymore, but maybe it has something similar. If it
    does you may be able to recover a version before the corruption.

    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  5. #5

    Thread Starter
    Fanatic Member alkatran's Avatar
    Join Date
    Apr 2002
    Location
    Canada
    Posts
    860
    Originally posted by RobDog888
    Too bad you didnt have the issue using 2003. In Options > Save
    tab there is the path to the AutoRecover location and the interval
    of the saves.

    I dont have 97 anymore, but maybe it has something similar. If it
    does you may be able to recover a version before the corruption.

    It stores the changes within the workbook and old saves? I've heard of this but never used it. I backup once every few days (every day when I work at this) anyways.

    So this might explain why the file size dropped 3 megabytes (> 75%!!!) when I copied it out.

    Is there a way to remove the history from a workbook quickly? Say before a product launch? (especially the ability to turn it off, so the product doesn't grow with time)
    Don't pay attention to this signature, it's contradictory.

  6. #6
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709
    Yes, in Tools > Options > Save > uncheck the "Save AutoRecover info every:"

    Note: for 2003.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  7. #7
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709
    Since this is going to be published, dont forget to remove personal
    information from the workbook. Tools > Options Security tab >
    Privacy Options: check "Remove Personal information from file
    properties on save".
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  8. #8

    Thread Starter
    Fanatic Member alkatran's Avatar
    Join Date
    Apr 2002
    Location
    Canada
    Posts
    860
    Originally posted by RobDog888
    Since this is going to be published, dont forget to remove personal
    information from the workbook. Tools > Options Security tab >
    Privacy Options: check "Remove Personal information from file
    properties on save".
    That must be 2003 as well, because there's no security tab under tools/options.

    Quick question: What makes 2003 better than 97? (starts googling)
    I know that I got mad when I found out I couldn't use RaiseEvent in 97, but it is in 2003. Any other coding specific things? (CONTROL ARRAYS?!)
    Don't pay attention to this signature, it's contradictory.

  9. #9
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709
    No control arrays yet
    I would say bug fixes and some user features, but they're not
    that important to me. i want code improvements. I think the main
    feature I like is the ability to use VSTO 2003 with VS .NET 2003 and be
    able to program excel dlls! Cool!! Much easier to reteve data from
    a datareader and load into an Excel spreadsheet in just a couple
    of lines of code. And a couple more lines to be able to make
    update directly to the db!!!
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width