#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 20
Default Run macro

after editing a macro what do i need to do before it iwll run again?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,819
Default Run macro

Click Run, Reset.

confused!! wrote:

after editing a macro what do i need to do before it iwll run again?


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,722
Default Run macro

As long as your structure does not have blatant errors that prohibit the
macro from starting, you should be able to do one of the following.

From VBE:
place cursor in macro, press F5.
place cursor in macro, goto Run - Run Sub

From Workbook:
Press Alt+F8, choose macro, run
goto Tools - Macro - Macros, choose macro, run.

Note that all but the first option require that your sub be public, and not
private such as:

Private Sub MyMacro()
'Should be:
'Sub MyMacro()
'do something
End Sub

--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"confused!!" wrote:

after editing a macro what do i need to do before it iwll run again?

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 Needed - Excel 2007 - Print Macro with Auto Sort Gavin Excel Worksheet Functions 0 May 17th 07 01:20 PM
My excel macro recorder no longer shows up when recording macro jack Excel Discussion (Misc queries) 1 February 5th 07 09:31 PM
My excel macro recorder no longer shows up when recording macro jack Excel Discussion (Misc queries) 3 February 5th 07 08:22 PM
using a cell value to control a counter inside a macro and displaying macro value ocset Excel Worksheet Functions 1 September 10th 06 05:32 AM


All times are GMT +1. The time now is 07:48 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"