G
Guest
I have an excel program that uses code to retrieve values from on sheet for
use in a function or sub. The code worked fine but has stoped. This code
snippit Sheets(REPORTSHEET).Activate
sCE = ActiveSheet.Cells(CER, CEC).Value Worked fine but now I find that the
reports sheet is not being activated if the user is on a different sheet when
he calls the sub or function. (CER and CEC are defined as constants to make
it easy to change the layout of a report). One possible problem could be that
part of the program was developed on Office 2003 and part was developed on
Office 2000. I can use all the help I can get on this one it has been driving
me crazy a short trip but not much fun. Thanks Mike
use in a function or sub. The code worked fine but has stoped. This code
snippit Sheets(REPORTSHEET).Activate
sCE = ActiveSheet.Cells(CER, CEC).Value Worked fine but now I find that the
reports sheet is not being activated if the user is on a different sheet when
he calls the sub or function. (CER and CEC are defined as constants to make
it easy to change the layout of a report). One possible problem could be that
part of the program was developed on Office 2003 and part was developed on
Office 2000. I can use all the help I can get on this one it has been driving
me crazy a short trip but not much fun. Thanks Mike