Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Thanks. Tried that. Doesn't allow access -- 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
|
|||
|
|||
![]()
you can do what i did one time.
transfer all data and other macros to file2. then delete the file1. -----Original Message----- Thanks. Tried that. Doesn't allow access. -- maurim ---------------------------------------------------------- -------------- maurim's Profile: http://www.excelforum.com/member.php? action=getinfo&userid=14851 View this thread: http://www.excelforum.com/showthread...hreadid=264806 . |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
It sounds like there is some hidden corruption in the
file. Recovery from this type of problem can painful. The only thing I can think of is the following: In the VBA editor export everything (sheets, macros, forms, class files, etc.)in the workbook to a class file except the macro that is a problem. If the macro is a sheet or form macro do not export that item. You can export each item by selecting each sheet, form, etc. and then right click and select export. When you have exported everything but the problem macro, close this file. Open a new file and import everything you have exported from the previous file. Recreate the sheet, form or macro that contained the previous error. This may be painful to do, but it is the only thing I know that should work. I have done a fair amount of development in Access and would have corruption problems from time to time and something similar in Access was the only solution. If this is to painful, unless this macro is causing problem it may be better just to leave the problem macro there and ignore the problem. I hope that helps! Kevin -----Original Message----- Thanks. Tried that. Doesn't allow access. -- 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) | |||
Trying to delete macro -- 'reference is not valid' | Excel Programming | |||
Trying to delete macro -- 'reference is not valid' | Excel Programming |