Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() I am trying to delete a macro in a worksheet. Apparently, the macro wa created badly and the message "reference is not valid" appears when try to do anything -- run, step into, edit, etc. It will not allow delete. Suggestions -- mauri ----------------------------------------------------------------------- maurim's Profile: http://www.excelforum.com/member.php...fo&userid=1485 View this thread: http://www.excelforum.com/showthread.php?threadid=26480 |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Disable macros thru the security settings then you will be able to open the
workbook and delete the macro. "maurim" wrote in message ... I am trying to delete a macro in a worksheet. Apparently, the macro was created badly and the message "reference is not valid" appears when I try to do anything -- run, step into, edit, etc. It will not allow a delete. Suggestions? -- maurim ------------------------------------------------------------------------ maurim's Profile: http://www.excelforum.com/member.php...o&userid=14851 View this thread: http://www.excelforum.com/showthread...hreadid=264806 |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Go directly to the VBA editor (ALT+F11) There should be a window in the top left corner named Project-VBA Project. if not use CTRL+R and it will appear. Find the workbook that contains the macro, clik in the + sign on the Modules folder, find the module that contains the macro rightclick and choose remove module... That should eliminate it. Regards JS -----Original Message----- I am trying to delete a macro in a worksheet. Apparently, the macro was created badly and the message "reference is not valid" appears when I try to do anything -- run, step into, edit, etc. It will not allow a delete. Suggestions? -- maurim ---------------------------------------------------------- -------------- maurim's Profile: http://www.excelforum.com/member.php? action=getinfo&userid=14851 View this thread: http://www.excelforum.com/showthread...hreadid=264806 . |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Macro: "Reference not valid" | Excel Discussion (Misc queries) | |||
How do I delete a missing reference to a Macro | Excel Discussion (Misc queries) | |||
"Reference not valid" error when I try to edit the macro in excel | Excel Discussion (Misc queries) | |||
'reference is not valid' | Excel Discussion (Misc queries) | |||
Reference is not valid | Excel Worksheet Functions |