Title is no help at all, is it! Sorry about that.
For those of you that remember me I'll fill you in on what's been happening: I stopped working in any IT related business a few years ago. I also stopped trying to save the world too as none of the world leaders would return my phone calls, so I thought "Stuff 'em - they'll have to manage without me, the ungrateful tykes!". Now I am a humble window cleaner earning a modest income and thoroughly enjoying the outdoor life.
As such, I decided to marshal what things I could remember about Excel and use it to keep a record of my customers and organise my work. So, to my question...
One of my sheets is called "Work Printout" and it tells me Who I'm due to visit that day (and a few things about the job). (This info is held in rows 2 - 30) Rows 33 onwards shows me who still hasn't paid me from previous days work.
What I would like to do at the end of each day is transfer some information by double-clicking things.
For example: Task 1: if I double click any cell in the range E2:E30 (lets say E5) the macro will understand that the job was done and has been paid for. So it will copy the range A5 to H5, Paste that to the first unoccupied row on a sheet called "Done" but in cells B to I, not A to H. And in column A of that new row it will insert today's date. Then it will look for that customer who's address was in Column B of "Work Printout", Locate that customer on a sheet called "Customer list" (where the address is in column E) and add today's date into column F)
Once all that is done it will go back to my "Work Printout" sheet and clear the info from that line.
On the other hand (Task 2) If on the sheet "Work Printout" I double click any cell in the range F2:F30 (say, F5), then it will look at the cell contents. If it is blank it means I've done the job but it remains unpaid. So then the macro will do everything the first macro did, but will also copy A5 to H5, pasting it on the nearest free row from row 33 down (same columns this time because it's on the same sheet) and inserting today's date in column D.
Task 3. If I double-clicked F5 and the cell contained "ND" Then it means that, for whatever reason, I wan not able to do that house today, I will have typed that reason in column H. So in this case the macro only need copy the reason I typed into column H, locate the customer on the "Customer list" sheet and copy that reason to column Z of that sheet, appending it to whatever comments are already there.
So if you can do/advise/suggest any or all of the above, I will be forever indebted to you for about a week.
Good to be back
Sir BD