BobJacksonNCI
Technical User
I CAN figure this out ... I think ... but maybe someone has a clean and easy way.
Our pay periods (multiple locations) end on Sundays.
Accounting staff presently post G/L entries related to payrolls by manually typing from a payroll report.
I've developed a spreadsheet with a bit of VBA that takes the exported form of the payroll report and creates a file that can be imported - to alleviate the typing.
In cell A2, the most recent Sunday date needs to be loaded before creating the GL import file, and it must be specifically formatted. E.G., APR-23-2006
So, two things to accomplish:
1. Calculate the date. I could start with NOW(), check the day of week, if not Sunday (1), reduce by 1 and check again.
2. Possibly more difficult, force the result to be formatted exactly like APR-23-2006, upper case month, dashes and four digit year.
As always, your assistance IS appreciated!
Bob
Our pay periods (multiple locations) end on Sundays.
Accounting staff presently post G/L entries related to payrolls by manually typing from a payroll report.
I've developed a spreadsheet with a bit of VBA that takes the exported form of the payroll report and creates a file that can be imported - to alleviate the typing.
In cell A2, the most recent Sunday date needs to be loaded before creating the GL import file, and it must be specifically formatted. E.G., APR-23-2006
So, two things to accomplish:
1. Calculate the date. I could start with NOW(), check the day of week, if not Sunday (1), reduce by 1 and check again.
2. Possibly more difficult, force the result to be formatted exactly like APR-23-2006, upper case month, dashes and four digit year.
As always, your assistance IS appreciated!
Bob