Hello all,
I've got a pretty frustrating problem. I have an Excel workbook with quite a bit of VBA code behind it (it's basically an automated order-entry database, which I have to do in Excel rather than Access). Anyway, it was working great until about a week ago when I added in some functionality that involved a new form, some images, and a couple of control buttons. I wasn't able to get all the way through writing the code when I had to save and quit. The next day, when I opened the program, I got the error: "Ambiguous Name Detected", which calls the debugger. The problem is I'm not sure where the ambiguous name is (I can't find it, and the debugger doesn't take me there). So I tried deleting all of the new stuff--but every time I try to save the program, it won't let me: "Document not saved." pops up. So now I have some bad code that won't let me run the program, but I can't get rid of it because I can't save any changes. Anyone have any ideas, either on how to track down the ambiguous code or (better yet) how to get around a "Document not saved." message? I really don't want to rebuild the whole thing...
Thanks!
I've got a pretty frustrating problem. I have an Excel workbook with quite a bit of VBA code behind it (it's basically an automated order-entry database, which I have to do in Excel rather than Access). Anyway, it was working great until about a week ago when I added in some functionality that involved a new form, some images, and a couple of control buttons. I wasn't able to get all the way through writing the code when I had to save and quit. The next day, when I opened the program, I got the error: "Ambiguous Name Detected", which calls the debugger. The problem is I'm not sure where the ambiguous name is (I can't find it, and the debugger doesn't take me there). So I tried deleting all of the new stuff--but every time I try to save the program, it won't let me: "Document not saved." pops up. So now I have some bad code that won't let me run the program, but I can't get rid of it because I can't save any changes. Anyone have any ideas, either on how to track down the ambiguous code or (better yet) how to get around a "Document not saved." message? I really don't want to rebuild the whole thing...
Thanks!