PC Review


Reply
Thread Tools Rate Thread

Deleting Macros in Personal XLSB file

 
 
Kevin
Guest
Posts: n/a
 
      8th Jul 2008
I want to delete and edit some macros I have created. I saved them to my
personal.XSLB file. So, whenever I tried to edit or delete the macros, I get
the following error:

"Cannot edit a macro in a hidden workbook. Unhide the workbook using the
Unhide command."

I seem to be unable to perform the suggested action. Does anyone know how to
do this?
 
Reply With Quote
 
 
 
 
Ron de Bruin
Guest
Posts: n/a
 
      8th Jul 2008
Hi Kevin

No need to unhide the file

Alt F11 to open the VBA editor
Change the code in the modules and save the file in the VBA editor

Alt q to close the VBA editor


--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"Kevin" <(E-Mail Removed)> wrote in message news:64B84CC3-1057-4B94-977D-(E-Mail Removed)...
>I want to delete and edit some macros I have created. I saved them to my
> personal.XSLB file. So, whenever I tried to edit or delete the macros, I get
> the following error:
>
> "Cannot edit a macro in a hidden workbook. Unhide the workbook using the
> Unhide command."
>
> I seem to be unable to perform the suggested action. Does anyone know how to
> do this?

 
Reply With Quote
 
tgreenwood
Guest
Posts: n/a
 
      22nd May 2009
Sorry, but that still does not answer the question. The extent of my macro
knowledge is to click on create macro, assign a keyboard or toolbar shortcut
to it, and "teach" Excel which task I want to automate (usually repetitive
tasks that require way too many mouse clicks.

Since I messed up that, I want to delete the macro and start over again.

Is there any way to do that? I do NOT want to try to edit the macro because
it's way beyond my area of expertise.
 
Reply With Quote
 
JLGWhiz
Guest
Posts: n/a
 
      22nd May 2009
You can open the Macro Dialog Box by clicking Tools>Macro>Macros on the menu
bar. Then click the particular macro name that you want to delete and click
delete.

Or you could just open the Visual Basic Editor with Alt + F11, use the mouse
to select the code module, Module1, ThisWorkbook, Sheet1, etc. where the
macro resides, then select the body of code with the mouse and press the
delete button on the keyboard.

There's more, but I think that either of these two will get the job done.


"tgreenwood" <(E-Mail Removed)> wrote in message
news:3496ACCF-546F-4F50-A33E-(E-Mail Removed)...
> Sorry, but that still does not answer the question. The extent of my macro
> knowledge is to click on create macro, assign a keyboard or toolbar
> shortcut
> to it, and "teach" Excel which task I want to automate (usually repetitive
> tasks that require way too many mouse clicks.
>
> Since I messed up that, I want to delete the macro and start over again.
>
> Is there any way to do that? I do NOT want to try to edit the macro
> because
> it's way beyond my area of expertise.



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
removing personal.xlsb file Lotto Microsoft Excel Programming 2 28th Jul 2011 01:01 PM
Problem with PERSONAL.XLSB file jgal General Software 0 7th Jun 2011 09:01 AM
personal.xlsb file =?Utf-8?B?QWxhaW4=?= Microsoft Excel Misc 1 4th Nov 2007 11:02 AM
Excel 2007: deleting macro from personal.xlsb Carl LaFong Microsoft Excel Programming 10 30th Apr 2007 04:37 AM
Can not open personal.xlsb file =?Utf-8?B?R3VpbGhlcm1l?= Microsoft Excel Crashes 4 29th Aug 2006 08:35 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:14 AM.