Thread Killer Mk X

Status
Not open for further replies.
I'm pretty solid at it - but is there a way for excel to translate an entry to current time?
See we have barcodes that if scanned must reflect the current time - it's just a project I'm working on to check viability etc.

It is being asked to the brainiacs know - they will tell me if its possible
 

No - that I know - it needs to be shall I say input based - like scan barcode > current time appears - this should obviously be variable.

- - - - - - - - - - Double Post Merged - - - - - - - - - -

No idea, ask anyway.

is there a way for excel to translate an entry to current time?
See we have barcodes that if scanned must reflect the current time - it's just a project I'm working on to check viability etc.


This ^ Either I'm slow this morning or I'm making this far too hard for myself.
 
Mornings.... I have a migraine again.... And i dont have anymore stilpanes to drink

Panamore en myprodol of Syndol of lenapain. . . .

Oh Murph - so if he wants that then the time has to go into the csv file when it gets scanned
otherwise there's no way for excel to know

and the scanner should be able to do this?
what is the make of the scanner? translucent?
 
Panamore en myprodol of Syndol of lenapain. . . .

Oh Murph - so if he wants that then the time has to go into the csv file when it gets scanned
otherwise there's no way for excel to know

and the scanner should be able to do this?
what is the make of the scanner? translucent?
Ek het niks pyn pille by die werk nie.... het net 1 stilpane oorgehad van my handsak stash...
 
Ek wil huistoe gaan :(. Wayxz kom ontvoer my toe...........wanna play BF but my gpu at work is not strong enough :(

Beste wat ek kan doen, is om jou onder ons boardroom tafel weg te steek?

Voel jy so sleg bokka? Het jy toe gister meneer hammer ontmoet?

- - - - - - - - - - Double Post Merged - - - - - - - - - -

Ek het niks pyn pille by die werk nie.... het net 1 stilpane oorgehad van my handsak stash...

Aggeneeeeeeeeeeeeeeeeeee Ek maak deesdae seker ek het n ordentlike stash by die kantoor
 
Beste wat ek kan doen, is om jou onder ons boardroom tafel weg te steek?

Voel jy so sleg bokka? Het jy toe gister meneer hammer ontmoet?

- - - - - - - - - - Double Post Merged - - - - - - - - - -



Aggeneeeeeeeeeeeeeeeeeee Ek maak deesdae seker ek het n ordentlike stash by die kantoor
ooh ek het op a adcodol in my laai afgekom.... wonder hoeveel pynpille is te veel....
 
No - that I know - it needs to be shall I say input based - like scan barcode > current time appears - this should obviously be variable.

Current date/time is easy "=NOW()"

To get it to appear as you scan a barcode, I would guess you would need to write a macro to trigger as text in a cell changes
 
Current date/time is easy "=NOW()"

To get it to appear as you scan a barcode, I would guess you would need to write a macro to trigger as text in a cell changes

And every time a new value gets added the every now() value updates. Tried a =if(ISTEXT(A1),NOW(),0)
 
Current date/time is easy "=NOW()"

To get it to appear as you scan a barcode, I would guess you would need to write a macro to trigger as text in a cell changes

And every time a new value gets added the every now() value updates. Tried a =if(ISTEXT(A1),NOW(),0)


I did some digging and found a piece of code that does it - but only on one side (i.e. only time in not time out in a different cell)
 
hello.gif
 
I did some digging and found a piece of code that does it - but only on one side (i.e. only time in not time out in a different cell)

Here you go

Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Column = 1 Then
Cells(Target.Row, Target.Column + 1).Value = Now()
End If
End Sub
 
I did some digging and found a piece of code that does it - but only on one side (i.e. only time in not time out in a different cell)

In fact, here, download this. You'll need to click the button to enable content, since it works with VBA script, and that'll be after the button to enable editing (because it's a download)

https://www.dropbox.com/s/58ek7c35g8wb6yw/Barcodes.xlsm

EDIT: Added a line to delete the date/time if you delete the barcode as well
 
Last edited:
Status
Not open for further replies.
Back
Top