+ Reply to Thread
Results 1 to 3 of 3

Windows 7 :Windows 7 keeps closing Excel during macro debugging

  1. #1
    Registered User
    Join Date
    02-28-2011
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    2

    Question Windows 7 keeps closing Excel during macro debugging

    Hi I am new to this forum and was hoping someone may be able to help me with this problem.
    I am using macros in my Excel 2007 files and recently got a new computer with Windows 7 64-bit Professional on it. I wanted to add more functionality to my workbook but there was some problem with the code.
    When I hit 'Debug' it went to the code in VBA and 10 seconds later Windows was busy closing Excel - "Excel has stopped working". This happens every time no matter what I do!

    I don't think this has to do with faulty Office products but the fact that Windows 7 sees Excel as non-responsive although I think it is only paused while I am stepping though the code!
    Any ideas?

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

    Re: Windows 7 keeps closing Excel during macro debugging

    It's hard to say without seeing what you are doing
    Hope that helps.

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

    Free DataBaseForm example

  3. #3
    Registered User
    Join Date
    02-28-2011
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Windows 7 keeps closing Excel during macro debugging

    Hi there sorry I got a bit distracted with work...
    I am using this function (got it from somewhere) to resolve the network path which may be compromising the rest of the file (I don't have previous experience with this one):
    Please Login or Register  to view this content.
    and using it in a function later on in the macro:
    Please Login or Register  to view this content.
    My aim is to automatically put correct hyperlinks in the sheet to other excel files on our network (i.e. this file would be like a summary/directory from which to access the other files). I have another function which then retrieves some values from these other excel files but it seems to be crashing before then.
    Last edited by zero212; 03-02-2011 at 08:43 AM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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