#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Macro deletion

I am brand new at macros. I created one for practice, it worked, then I
deleted it at excel toolsmacrodelete. I went thru the workbook and deleted
all the modules, so I don't get the enable/disable warning. But now when I
try to create in VBA and hit F5 I get a Macro message box asking for the name
of the macro, and of course there is no name to click. Can I get rid of this
and get back to square one? Thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default Macro deletion

You code should be within the Sub/End Sub as below..

Sub MyTestMacro()

'place your code here
MsgBox "My new macro"


End Sub

If this post helps click Yes
---------------
Jacob Skaria


"Patricia D" wrote:

I am brand new at macros. I created one for practice, it worked, then I
deleted it at excel toolsmacrodelete. I went thru the workbook and deleted
all the modules, so I don't get the enable/disable warning. But now when I
try to create in VBA and hit F5 I get a Macro message box asking for the name
of the macro, and of course there is no name to click. Can I get rid of this
and get back to square one? Thanks

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
How can I activate a macro of auto deletion with respect to date G.Shankar New Users to Excel 1 May 31st 08 01:30 PM
Row Deletion Question Joe[_9_] New Users to Excel 2 April 6th 08 10:27 PM
name deletion rk0909 Excel Discussion (Misc queries) 2 January 4th 08 11:03 PM
Accidental Deletion Brian Frantz Setting up and Configuration of Excel 2 August 25th 06 08:51 AM
#REF! after cell deletion Colin G Eastwood Excel Discussion (Misc queries) 1 December 2nd 04 01:22 PM


All times are GMT +1. The time now is 06:31 AM.

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"