Hi All,
First up, thanks for any / all help.
I need to make a code for automatic time entry in a cell. Can't use now() because it updates every time I breathe. Anyway, thanks to all the guys here, I know that I need to code it in VB.
Now, I don't really know VB. I have tried to play around with it but to no avail. So would reallyyyyyyyyyy appreciate it if someone could spend a few minutes.
Here is the deal. I copy three columns from somewhere and paste them in A5. So, they get pasted in the A, B and C columns starting from the 5th row. Now, I need the time to be entered in the first cell which is the merge of A1, B1 and C1. Time should get entered automatically when I paste the three columns.
Now here is the tricky part......I need to do this every three columns. This means that I will repeat this with ABC, then DEF, GHI and so on. This will go on until the end of Sheet1 and then continue to Sheet2 and then Sheet3. This means that the time first needs to go into the merged cells A1,B1,C1 and then D1,E1,F1 and then G1,H1,I1 and so on across Sheet1, Sheet2, and Sheet3 WHEN I paste in those particular columns.
I would really appreciate if someone could throw me either the code or a hint or something. I am dying here.
Thanks for the time guys......
Vcsush
First up, thanks for any / all help.
I need to make a code for automatic time entry in a cell. Can't use now() because it updates every time I breathe. Anyway, thanks to all the guys here, I know that I need to code it in VB.
Now, I don't really know VB. I have tried to play around with it but to no avail. So would reallyyyyyyyyyy appreciate it if someone could spend a few minutes.
Here is the deal. I copy three columns from somewhere and paste them in A5. So, they get pasted in the A, B and C columns starting from the 5th row. Now, I need the time to be entered in the first cell which is the merge of A1, B1 and C1. Time should get entered automatically when I paste the three columns.
Now here is the tricky part......I need to do this every three columns. This means that I will repeat this with ABC, then DEF, GHI and so on. This will go on until the end of Sheet1 and then continue to Sheet2 and then Sheet3. This means that the time first needs to go into the merged cells A1,B1,C1 and then D1,E1,F1 and then G1,H1,I1 and so on across Sheet1, Sheet2, and Sheet3 WHEN I paste in those particular columns.
I would really appreciate if someone could throw me either the code or a hint or something. I am dying here.
Thanks for the time guys......
Vcsush