Hey MSO,
I am not following precisely what needs to happen.
Sounds like you are looking to place a time stamp upon submitting a record. If this is the case we can avoid the need to copy and paste a format of visible values.
But first lets confirm what you are doing.
To begin with you want something to happen when you select a registered student ID - In G7 on the LC tab...
So let's place this VBA on the LC sheet - This can be altered to run different Macros upon updating G7 but for now let's run MarkTime
Private Sub Worksheet_Change(ByVal Target As Range)
If Not Intersect(Target, Target.Worksheet.Range("G7")) Is Nothing Then MarkTime
End Sub
In order to run MarkTime, you need to create one... Utilize the following. This will create a timestamp in G4 on LC... we can discuss what to do with this once we understand further what is needed. Unless of course someone else jumps in here -
Sub MarkTime()
Sheets("LC").Select
Range("G4").Value = Format(Now(), "dd/mm/yyyy hh:mm AM/PM")
End Sub
In your next reply... Create a Before/After tab of Register since I believe this is what you want the results to appear on.
It should contain 3 or 4 records in their final format with clear explanation as to how you came to make them up.
Bookmarks