I’m hoping someone out there can help me with a VBA problem.
I have created a timesheet to calculate the hours worked during a working week (Monday – Sunday) and would like a VBA code which will convert the date entered (for the 7 Days work period) - in my spreadsheet to the first Monday of the inputted date entered into the specific cell – In this case Cell:E6 (in my spreadsheet).
I have managed to build a Monthview calendar which I'm using to enter the date into the cell.
I have looked extensively on the internet and tried various example codes that I’ve found but unfortunately without success, so I thought it pointless posting one.
Ideally I need the date to be converted automatically as the date is picked and the calendar closes.
I’d be really grateful for any help as my VBA knowledge is limited but I can usually make sense of it with a little explanation of where to put what codes etc, i.e. in a module or worksheet/book.
Many thanks in advance
I have created a timesheet to calculate the hours worked during a working week (Monday – Sunday) and would like a VBA code which will convert the date entered (for the 7 Days work period) - in my spreadsheet to the first Monday of the inputted date entered into the specific cell – In this case Cell:E6 (in my spreadsheet).
I have managed to build a Monthview calendar which I'm using to enter the date into the cell.
I have looked extensively on the internet and tried various example codes that I’ve found but unfortunately without success, so I thought it pointless posting one.
Ideally I need the date to be converted automatically as the date is picked and the calendar closes.
I’d be really grateful for any help as my VBA knowledge is limited but I can usually make sense of it with a little explanation of where to put what codes etc, i.e. in a module or worksheet/book.
Many thanks in advance