C
Conan Kelly
Hello all,
I have a time sheet workbook that, at the end of the payperiod, will
mail itself to my boss. I want to add to it the ability to move
itself to a "Sent" folder. But in order to do that, it needs to be
closed. When it closes, all code stored in it after the Close method
will not execute, correct? So, I will have to store the commands to
close and move the file in PERSONAL.XLS. Can I call a sub procedure
stored in PERSONAL.XLS from my timesheet workbook? If so, how?
I'm assuming that the procedure I'm calling will need the Public
keyword added to it, correct? I have tried that before. The
statement I used to try to call it was:
ProcedureName Arguments '(if any)
But when I tried that, I got Compile Error message: Variable Not
Defined (if I remember correctly).
Any help on this matter will be greatly appreciated,
Conan Kelly
I have a time sheet workbook that, at the end of the payperiod, will
mail itself to my boss. I want to add to it the ability to move
itself to a "Sent" folder. But in order to do that, it needs to be
closed. When it closes, all code stored in it after the Close method
will not execute, correct? So, I will have to store the commands to
close and move the file in PERSONAL.XLS. Can I call a sub procedure
stored in PERSONAL.XLS from my timesheet workbook? If so, how?
I'm assuming that the procedure I'm calling will need the Public
keyword added to it, correct? I have tried that before. The
statement I used to try to call it was:
ProcedureName Arguments '(if any)
But when I tried that, I got Compile Error message: Variable Not
Defined (if I remember correctly).
Any help on this matter will be greatly appreciated,
Conan Kelly