Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

step into macro box

Forum home » Delegate support and help forum » Microsoft Excel VBA Training and help » Step Into Macro box is greyed out when I look at macro

Step Into Macro box is greyed out when I look at macro

ResolvedVersion 2010

Preeti has attended:
Excel VBA Intro Intermediate course

Step Into Macro box is greyed out when I look at macro

I would like to step into a macro and run it step by step. When I go to:

Developer > Macro

and look at the macro options in the message box, only the RUN is available.

RE: Step Into Macro box is greyed out when I look at macro

Hi Preeti

It's hard to identify why the Step Into option is geyed out.
However you could try stepping through the macro in a different way.
Press Alt+F11 to enter the VBA Editor.
Navigate to the macro you want to step through. You may need to open the module where it is located.

Then click within the first line of the macro and press function key F8.
This steps through the macro line by line.

Hint: It helps to display the worksheet along side the VBA editor while stepping through. (Right click the Taskbar, Show Windows Side by Side)

When finished stepping through, press the blue Reset button.

Regards
Doug Dunn
Best STL

 

Training courses

Training information:

Welcome. Please choose your application (eg. Excel) and then post your question.

Our Microsoft Qualified trainers will then respond within 24 hours (working days).

Frequently Asked Questions
What does 'Resolved' mean?

Any suggestions, questions or comments? Please post in the Improve the forum thread.

Excel tip:

Colouring cells containing formulas

Cells in a worksheet can contain values or they can contain formulas. You may wish to identify all the cells in your worksheet that contain formulas by colouring those cells.

Follow these steps:
1. Choose Edit > Go To menu, or press either F5 or Ctrl+G. Excel displays the Go To dialog box.
2. Click Special. Excel displays the Go To Special dialog box.
3. Select the Formulas radio button option.
4. Select OK.

At this point, every formula cell in the worksheet is selected, and those cells can be coloured formatted as desired.

View all Excel hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.14 secs.