+ Reply to Thread
Results 1 to 3 of 3

An instruction that used to work now crashes my app!!

  1. #1
    Registered User
    Join Date
    03-05-2009
    Location
    York, PA
    MS-Off Ver
    Excel 97 & Excel 2007
    Posts
    17

    An instruction that used to work now crashes my app!!

    A line of vba code in an Excel application I'm developing - that used to run and execute perfectly - now causes a Fatal Error and shuts down my application when the line executes. This happens whether I execute the code in real time or whether I step through the code using the F8 key.

    I'm assuming the line of code that is crashing my app is (I hope I have used the code embed feature correctly)
    Please Login or Register  to view this content.
    because when I step through the code (F8) everthing runs fine until I execute this line. Anyone know why this sort of thing happens?

    The ActiveWorkbook reference is a workbook that I opened using my vba code.

    I'm using Excel 97 (XP, SP2) and Excel 2007 (Vista) and my app will crash on either.

    Thank you,

    Stu
    Last edited by Stu M; 06-23-2009 at 08:06 PM. Reason: Correct code tags

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: An instruction that used to work now crashes my app!!

    Please take a few minutes to read the forum rules and correct your code tags.

    Is this a workbook that has already been saved at least once?

    Is it read-only?

    If a network path, is the path available?
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    03-05-2009
    Location
    York, PA
    MS-Off Ver
    Excel 97 & Excel 2007
    Posts
    17

    Re: An instruction that used to work now crashes my app!!

    The workbook has been saved several times.
    It is not read-only.
    It is not being saved to a network.

    Stu

+ 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