Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 226
Default simple macro question

I used to know this, but have been out of the game for a while and am trying
to get back in.

Could one of you explain how I watch a macro work one command at a time, I
think it was called stepping through the macro or something like that. I
have writen/recorded some code and I want to see it work slowly, step by step
and I remember being able to preform each command with a function button,
just can't remember process.

Thanks in advance.
Roger
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default simple macro question

Roger

With module open and macro selected DebugStep Into then F8 your way through the
steps.


Gord Dibben MS Excel MVP


On Wed, 24 Jan 2007 13:51:01 -0800, Roger
wrote:

I used to know this, but have been out of the game for a while and am trying
to get back in.

Could one of you explain how I watch a macro work one command at a time, I
think it was called stepping through the macro or something like that. I
have writen/recorded some code and I want to see it work slowly, step by step
and I remember being able to preform each command with a function button,
just can't remember process.

Thanks in advance.
Roger


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,939
Default simple macro question

You can use F8 to execute the macro one line at a time. F9 to set break
points in the exectution and Ctrl + F8 is Run to cursor...
--
HTH...

Jim Thomlinson


"Roger" wrote:

I used to know this, but have been out of the game for a while and am trying
to get back in.

Could one of you explain how I watch a macro work one command at a time, I
think it was called stepping through the macro or something like that. I
have writen/recorded some code and I want to see it work slowly, step by step
and I remember being able to preform each command with a function button,
just can't remember process.

Thanks in advance.
Roger

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro Help (Uppercase multiple ranges?) Ken Excel Discussion (Misc queries) 14 December 2nd 06 07:23 PM
question about syntax in a simple macro... Dave F Excel Discussion (Misc queries) 3 November 3rd 06 02:12 PM
error when running cut & paste macro Otto Moehrbach Excel Worksheet Functions 4 August 9th 06 01:49 PM
How turn off macro security question for workbook with no marcos? Dewy Cheatum & Howe Excel Discussion (Misc queries) 2 December 9th 05 10:14 PM
Bob Phillips followup question on text macro kayabob Excel Discussion (Misc queries) 2 June 27th 05 05:13 PM


All times are GMT +1. The time now is 12:08 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"