Hi Excel...er, I mean Access Experts,
I have created a function called dateSnap()
Function dateSnap()
dateSnap = Format(Now(), "mm/dd/yy hh:mm AM/PM")
End Function
My function works fine by itself.
Now I would like to use this function within a macro using the Output to statement to "snap" out some exception reports each month. We run the reports 5 or 6 times a day sometimes and I need to be able to track the different reports as we adjust data.
In the macro I am typing the following below where it asks for Output File:
="C:\MIS\Snapshot Reports\Exception Reports\12_MissingOfficer " & datesnap() & ".snp"
But my macro keeps bombing. This is just one report I experimenting with. I have literally dozens more to do this with once I get this problem ironed out.
Thanks,
Joe in Oxford, CT. USA.
Power just came back @ 4:50am this morning.....
I have created a function called dateSnap()
Function dateSnap()
dateSnap = Format(Now(), "mm/dd/yy hh:mm AM/PM")
End Function
My function works fine by itself.
Now I would like to use this function within a macro using the Output to statement to "snap" out some exception reports each month. We run the reports 5 or 6 times a day sometimes and I need to be able to track the different reports as we adjust data.
In the macro I am typing the following below where it asks for Output File:
="C:\MIS\Snapshot Reports\Exception Reports\12_MissingOfficer " & datesnap() & ".snp"
But my macro keeps bombing. This is just one report I experimenting with. I have literally dozens more to do this with once I get this problem ironed out.
Thanks,
Joe in Oxford, CT. USA.
Power just came back @ 4:50am this morning.....