+ Reply to Thread
Results 1 to 4 of 4

Is STEP INTO Broken?

  1. #1
    Forum Contributor
    Join Date
    08-29-2012
    Location
    United States
    MS-Off Ver
    Excel 2003
    Posts
    103

    Is STEP INTO Broken?

    Hi, I'm very confused.

    I recently updated my code. After this update, I've had some issues I'm trying to resolve. I was debugging using BREAKPOINTS because I had an idea where my errors were coming from. This time, however, I have no idea where my errors are coming from, so I've been attempting to debug using the STEP INTO method. I place the cursor at the first line of code and press F8. It goes Line-By-Line. I get Run-time error '1004' almost immediately now, on a section of code I did not change, a section I've used literally thousands of times already without issue. When I run the entire code normally using BREAKPOINTS, it doesn't stop here at the beginning, but keeps going. So, is something broken with STEP INTO; I've never used it before, so IDK if this is normal behavior for it or not? Here is the section of code giving errors only with the STEP INTO debugging method, just FYI

    Please Login or Register  to view this content.

  2. #2
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,104

    Re: Is STEP INTO Broken?

    That code works for me without any problems. What is the exact error message that you get?
    Also you can simplify your else to
    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    08-29-2012
    Location
    United States
    MS-Off Ver
    Excel 2003
    Posts
    103

    Re: Is STEP INTO Broken?

    Run-time error '1004'

    I still can't get STEP INTO to work, however I did fix the error in my code and when I run it normally with F5, no errors, only with Debug>Step Into.

  4. #4
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,104

    Re: Is STEP INTO Broken?

    I see no reason why that line would cause an error & I asked for the error message not the error number.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 1
    Last Post: 07-11-2019, 12:52 PM
  2. Replies: 3
    Last Post: 07-07-2017, 01:24 PM
  3. Replies: 0
    Last Post: 10-17-2016, 09:05 PM
  4. [SOLVED] Stock Chart apparence is different if Macro1 runs step by step not directly !
    By HerryMarkowitz in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 09-23-2014, 04:31 AM
  5. [SOLVED] For step loop, need step size to change based on reference cell in row
    By Telperion in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-22-2013, 03:41 PM
  6. Can anyone give me a step by step procedure on date expirations with color
    By Gracieline in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-07-2012, 08:35 AM
  7. [SOLVED] preventing simple zoom macro from running step by step
    By reece1984 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-11-2012, 06:13 AM

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