+ Reply to Thread
Results 1 to 5 of 5

Personal.xlsb crashes excel

  1. #1
    Registered User
    Join Date
    03-23-2010
    Location
    Denmark
    MS-Off Ver
    Excel 2007
    Posts
    2

    Personal.xlsb crashes excel

    Hi guys

    I was hoping you guys could help me out. I'm pretty new to macro and VBA but I'm trying to get a macro which can save an open spreadsheet in a specific location under a specific name.

    I saved the macro in the personal folder as I would like to have it available when I open documents which donít have this macro.

    It all seems to work very well except excel now crashes randomly when opening either a new file or an existing one I can't figure out why
    After the crash I get the message that there is something wrong with my personal.xlsb!
    The documents I'll be opening will be both 2003 and 2007 both with and without existing macros

    Please Login or Register  to view this content.
    Thanks
    Last edited by Lippert; 03-23-2010 at 10:16 AM.

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,202

    Re: Personal.xlsb crashes excel

    Your code sounds like it is stored in your Personal.xlsb, I van't see why this is causing Excel to crash
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Forum Expert
    Join Date
    01-03-2006
    Location
    Waikato, New Zealand
    MS-Off Ver
    2010 @ work & 2007 @ home
    Posts
    2,243

    Re: Personal.xlsb crashes excel

    hi Lippert,

    Quote Originally Posted by Lippert View Post
    ...
    After the crash I get the message that there is something wrong with my personal.xlsb!
    ...
    Can you please be a little more explicit - what is the exact wording of the error message?
    When do you get the message?

    You mention that you'll be opening both 2003 & 2007 files, am I correct in thinking that you will always be opening the files in Excel 2007?

    Rob
    Rob Brockett
    Kiwi in the UK
    Always learning & the best way to learn is to experience...

  4. #4
    Registered User
    Join Date
    03-23-2010
    Location
    Denmark
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Personal.xlsb crashes excel

    Hi again

    This is what it tells me when it crashes:

    Crash.gif

    Error.gif

    Disable.gif

    Yes I always opening both 2003 and 2007 fils in excel 2007.

    Thanks

  5. #5
    Registered User
    Join Date
    03-23-2010
    Location
    England
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    27

    Re: Personal.xlsb crashes excel

    I think you should take out Application.DisplayAlerts = False, you need to be made aware of unforseen problems with saving. Also Application.Quit should be used with care, there may be other workbooks open within the same instance of Excel. Looking generally at what you are trying to do, and given that you are using Excel 2007, you may be better off setting trusted paths under Trust Centre Settings.
    Hope this helps

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1