+ Reply to Thread
Results 1 to 3 of 3

Using Step-into (F8) for code in ThisWorkbook

  1. #1
    Forum Contributor
    Join Date
    11-17-2004
    MS-Off Ver
    Office 2016
    Posts
    527

    Using Step-into (F8) for code in ThisWorkbook

    Is there a way to step through the code in the ThisWorkbook object, like you can with the other worksheets using the F8 key?

  2. #2
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Using Step-into (F8) for code in ThisWorkbook

    If the code is not event driven yes, but if it is, you can not directly, but you can call it from the module.

  3. #3
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,644

    Re: Using Step-into (F8) for code in ThisWorkbook

    If the code is passed an argument put a breakpoint(F9) in the code and then do whatever is needed to trigger the code.

    Otherwise just put the cursor in the code and press F8.
    If posting code please use code tags, see here.

+ 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