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

resolvedResolved · Urgent Priority · Version 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:

Create a hyperlink navigation sheet

In large files, it is often useful to have a front sheet with hyperlinks to the key databases and summary calculations in your spreadsheet. Hyperlinks can save you and (more importantly) those less familiar with your spreadsheet a great deal of pointless scrolling between and within sheets.



Hyperlinks appear as underlined text and can jump to any cell or range name in your file. You can also use hyperlinks to jump to other files.



To create a hyperlink to a location in the active workbook: (1) Select the cell that contains the text you want to use as the hyperlink and choose Insert|Hyperlink.(2)Click Place in this document.(3)Choose the sheet you want to link to or the range name from the list of "Defined Names".(4)If necessary, type the cell reference in the Type in the cell reference box. (5) Click OK.

View all Excel hints and tips


Server loaded in 0.08 secs.