First Scenario
You have a controls like a command button. In order to check if there is any
code behind it, From the Main Menu Select View -> ToolBars -> Control Tool Box
An icon that looks like a square with a ruler and a pencil will appear,
click on it to provide you with the Design mode, this will allow you to right
click on the Control object, once you right click on it, you can select "View
Code" This will take you to the Visual Basic Explorer screen and on the right
hand side of your screen you will see two dropdown boxes, navigate throught
them by clicking on them and selecting either Worksheet (The First Dropdown)
or the event associated with it on the right most dropdown box.
This were the code can be hidden.
Second Scenario
If you don't have any controls, hit the combination Alt F11, this will bring
you to the Visual Basic editor window.
On your right hand side of the window you will see the VBA Project window,
in there you should find the workbook you are having problems with, Make sure
is expanded (click on the + sign if necessary) . You will see 2 folders
(Maybe only one if you don't have macros) One reads Microsoft Excel Objects
and if expanded you will see the sheets that make up your workbook, if you
double click on any of them, you will see the code associated with them on
the right hand of your screen (navigate through them using the dropdown boxes
mentioned in the first scenario)
Hope this helps....
--
If this posting was helpful, please click on the Yes button.
Regards,
Michael Arch.