Moving the cursor in the VB Editor

Posted on 2014-08-15
Last Modified: 2014-08-15

If i have loads of code in a sub and i want to move the cursor from one part to another, can i move it by clicking next to the line i want to go to or must i drag the cursor down or step through?

Question by:Seamus2626
    LVL 76

    Accepted Solution

    You can change the text cursor (for editing)  by left-clicking in the usual way,

    You can change the code execution point to the text cursor position by right-clicking and choosing  'Set Next Statement' from the pop-up menu.
    LVL 44

    Expert Comment

    by:Martin Liss
    Please see my my article on debugging.

    Author Closing Comment


    Featured Post

    Highfive + Dolby Voice = No More Audio Complaints!

    Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

    Join & Write a Comment

    Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
    Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
    As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
    Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

    731 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now