Issue when inputting time in a cell formmatted in [h]:mm:ss

In this sheet when you put in a time, say 20 (this sheet is used for our 24-hour call-out recording) it returns a time in the cell that is equal to 24xThe time that was type in, so for this example 480:00. In the formula bar it shows this. 1/20/1900 12:00:00
AM. But if I instead type 20:00 it works the way it is supposed to. It obviously isn't an issue to type the :00 but when in the sense of time just typing 20 or 10 or whatever the time is should suffice.
Any help would be appreciated.

Say we are inputting values in column A.  First format the cells in column
A as Text.  Then insert the following event macro in the worksheet code area:
Private Sub Worksheet_Change(ByVal Target As Range)
Dim A As Range, r As Range, rInt As Range, _
hrs As Integer, mins As Integer, secs As Integer
Set A = Range("A:A")
Set rInt = Intersect(Target, A)
If rInt Is Nothing Then Exit Sub
Application.EnableEvents = False
For Each r In rInt
s = r.Text
r.Clear
r.NumberFormat = "[h]:mm:ss"
If InStr(1, s, ":") = 0 Then
r.Value = TimeSerial(CInt(s), 0, 0)
GoTo bottom
End If
ary = Split(s, ":")
hrs = CInt(ary(0))
mins = CInt(ary(1))
If UBound(ary) = 1 Then
secs = 0
Else
secs = CInt(ary(2))
End If
r.Value = TimeSerial(hrs, mins, secs)
bottom:
Next r
Application.EnableEvents = True
End Sub
gsnu201408

Similar Messages

  • Time zone issue when copying Outlook/Mac invitation to iCal or adding it via iPhone/iPad calendar

    Hello everyone,
    I'm facing a situation when every time I receive an invitation comes from a different time zone neither iCal, iPhone’s Calendar nor iPad’s Calendar recognizes it correclty.
    Below there are a couple of examples, but before, a few information about my environment: Mac OS X Lion with Outlook for Mac (non-exchange user), I’m using iCloud, and my iPhone and iPad are running iOS5. And BTW, I’m not intending to sync anything with Outlook… I know it does not support iCloud syncing, I just trying to live without that.
    First example.
    I got an invitation to a meeting on Monday 5pm-6pm CET, but I’m in GMT-2. It should appear to me as an event to occur on Monday2pm-3pm (GMT-2). In fact only Outlook shows the right time, however when I dragged and dropped that appointment from Outlook’s calendar to iCal it was copied but is did not consider the time zone, that means in the iCal, the appointment was set to occur from 5pm-6pm (GMT-2), instead of 2pm-3pm (GMT-2).
    Second example.
    I created an appointment in Outlook by myself, jsut to check if that would be something related to the senders’ computer (Outlook/Windows user), then I set that meeting to occur on Friday 5pm-6pm (UTC+1) and I sent an invitation to a friend of mine (Outlook/Mac User). In my Outlook the appointment was created correctly, that means, on Friday 2pm-3pm (GMT-2), however, when I copied that meeting to iCal it did not consider the time zone, appearing to be Friday 5pm-6pm (GMT-2), and when my friend opened the invitation in his iPhone, which is also set as GMT-2, that also appeared to him as a meeting on Friday 5pm-6pm (GMT-2).
    I also checked all possible time zones configurations, in the iPhone, iPad, iCloud and in my MacBook (iCal and Outlook)…all time zones are enabled and configured as GMT-2.
    As an last shoot, I decided to download a third-party software, which is integrated with iCal and iCloud, in order to check if that could be an Apple’s issue. I downloaded and installed the BusyCal (from BusyMac). And guess what?! When I dragged & dropped the same meetings I described above from Outlook to BusyCal, it worked perfectly!! And BusyCal sent the proper information to iCal and my iPhone/iPad over iCloud. Which means: #1 there would be no issue with my configurations, and #2 BusyCal does really takes into consideration time zones, which is something that Apple’s calendars looks like do not.
    It will not solve the issue I'm having with my mobile devices, but at least is a workaround… BTW, an expensive workaround, because BusyCal costs $49, by now I’m using the 30 days trial version.
    So friends, is there anyone who could help to find a real solution J , or at least, a free workaround L
    Thank you in advance and I apologize for this “article”.
    PS: I've been using Mac for 4 years now, and this is the first time I was stucked ina situation like that... and I don't know who to blame... Microsoft or Apple? This I know... syncing Apple's calendars with Microsoft's calendars, should be effortless... and it is always a pain in... that place...

    I am having a similar problem:  invitations sent (presumably from outlook), when accepted from my iPad, appear in the calendar with the wrong time zone.
    this actually happens even when the meeting is in the same time zone I'm in:  I am in GMT -5, and even when the meeting is in GMT-5, it defaults to GMT (or, in some instances, PST).  My settings have my time zone set correctly.
    Any help much appreciated.
    PS:  Using iPad original wit iOS5

  • Due to NAS issues, when I started a new time machine backup it did not have the old backups available. My question is do I need to delete them or will time machine automatically reclaim the space?  Only one Sparse Bundle, same name.

    Due to NAS issues, when I started a new time machine backup it did not have the old backups available. My question is do I need to delete them or will time machine automatically reclaim the space?  There is only one sparse bundle but when I enter time machine I don't see my historic backups.  I use a synology DS212 for my time machine.  Started a new backup which is 218gb but it says 618 gb is occupied  therefore it looks like 2 or 3 backups are still on the disk. Before my NAS issues the last backup was in 2014.  As you can see there is a second sparse bundle from 2012.  Not sure what that is.

    This is an old message now, but what happened to me similarly was:
    I had a major computer crash and through complicated pathways ended up reinstalling (Mavericks) as a new user (long story).
    At least I had good Time Machine backups on an NAS drive (Synology DS212j), or so I thought - when I started Time Machine up again, the old backup file was gone, replaced by a new one using my "new computer" name. The old file was gone both by directly mounting the NAS drive and by clicking "Enter Time Machine".
    It's like I had {OldShareName}.sparsebundle and then it was replaced by {NewShareName}.sparsebundle, all of the old info vanished.
    (I have spent a week finding old files elsewhere and have completed a satisfactory self-restore. It pays to "archive" [my own variation of] as well as "back-up".)
    My belief is that if this were a wired-netword-drive, e.g. plugged right into my iMac with a USB cable, then the old file would have remained.
    But this is an NAS drive, connected directly to my Airport wireless router, and I don't know the significance of the fact that it stores its Time Machine backups as "sparsebundle" files rather than simply as plain(er) files.
    As usual when things get complicated with computers (not just Apple computers) there was never a warning message. Something like "YOU'RE ABOUT TO DELETE A TIME MACHINE BACK-UP FILE!!!" would have made my life a lot simpler.
    BTW, I did try a "restore from Time Machine" option the first thing I had my "new computer" (old hardware, 2009 iMac) up and running, using Migration Assistant, and it ran for many hours and then failed in the wee hours - what that has to do with anything I'm not sure.
    I'm not sure that I have a question about this other than "why do these things happen to me?", but it's a warning. Apart from that I've been very happy with the stability and reliability (but not the cost or set-up complexity) of NAS vs. directly-cabled external drives.
    Charles

  • We have an issue when we send a film to the media encoder it crashes about half of the time for no particular reason. Anyone else got that too with Premiere Pro CC and the new Media encoder? Thanks! bedrijfsfilm Companyfilms

    We have an issue when we send a film to the media encoder it crashes about half of the time for no particular reason. Anyone else got that too with Premiere Pro CC and the new Media encoder?

    We have an issue when we send a film to the media encoder it crashes about half of the time for no particular reason
    Anyone else got that too with Premiere Pro CC and the new Media encoder?
    Lack of detailed info makes your question impossible for anyone to answer you!
    eg. ...."Doctor it hurts...anyone else got something that hurts?" 

  • Date/time stamp issue when transferring vids/pics to computer. Help please.

    Hi, i am having an issue when transferring my vids/pics from my Z2 to my PC.
    On all my previous phones when transferring media to my PC it would be copied and labelled with a date stamp followed by a picture number- an example being 2014-01-13- 0123. This has always made organising and finding my pics/vids in there relavent folders an eay task.
    The problem i am now faced with is when i transfer pics/vids from my Z2.  The pictures are stamped with DSC_0001 for example and the videos with MOV_0001. This means when on my PC i have to examine each file individually to find out its date and time of origin.
    Even more of an headache is everytime i have transferred files from my Z2 and then take more pics/vids and then try to transfer them to my PC the computer will not allow transfer as the stamp on the file i am transferring from my Z2 eg - DSC_0001 is already present on the PC from a previous transfer. This means i have to rename all the PC files first.
    I hope this makes sense and hopefully there is an easy fix.
    I am new to Android and overall i am very happy with the operating system, being a massive improvement generally over my previous phones. Fingers crossed this is down to my lack of knowledge and just involves a settings change somewhere.
    Thanks in advance for any help.

    Hi.
    The case you described is right. But it´s not a bug.
    Why don´t you organise your pics/vids on your desktop with picasa for example. There you have many tools, also to rename your files, so that the filename contains the creation date.
    Or you use a cloud solution like dropbox, google+ or amazon clouddrive to sync pics/vids from your phone automatically.
    But never use the built-in sony playmemories. It´s really slow, pics are down-scaled to 1280x720 and vids are not synced. It´s the worst cloud-service for pics I´ve seen.
    Best
    arni

  • In my numbers when I click on a cell it shows the formula but what I want ot see is the number I input inot the cell.  what did I do and how can I change it?

    In Numbers, when I click on a cell I see the formula, how do I see the number I input inot the cell?

    Gerald,
    A cell either contains:
    1) what you typed (or entered) OR
    2) the result of a formula
    to enter a formula, select a cell, then type the "=" sign then the formula, then enter
    to enter a number oer text, then type the number(s) or text you want, then the enter key
    the contents of a cell is the last thing you typed into that cell.  If there was a formula, then selecting the cell and typing will result in losing the formula.
    B3 will change as you modify the cell contents in B1 and B2

  • In Numbers for IOS8, when I double tap a cell it no longer displays the Input Ba, just the number keyboar. It worked fine until yesterday. I've tried deleting and re-installing the app.

    In Numbers for IOS8 when I double tap a cell the Input Bar no longer appears - I just get the number keyboard so I Canwick't select the text keyboard or the formula keyboard.  It has worked fine for ages but from yesterday I have this problem.  Deleting and re-installing the app has no effect.

    Hi 902tig,
    This is the Numbers for Mac forum. While some of use use Numbers on iOS you might get more responses on the iWork for iOS forum.
    quinn

  • Issue calculate input form Account with Time Hierachy

    Dear Expert,
    I have an issue when load data to create Report in BPC EPM like this:
    2006.01 - Jan 2006
    2006.02 - Feb 2006
    2006.03 - Mar 2006
    2006.Q1 - Q1 2006
    BS121 - Accounts Receivable
    2000
    3000
    4000
    4000
    BS122 - Cash
    9000
    80000
    80000
    80000
    BS120 - Current Assets
    11000
    83000
    84000
    84000
    So, the system can only sum base on Account hierachy dimension but Time is incorrrect.
    I Want the system calculate like this:
    2006.01 - Jan 2006
    2006.02 - Feb 2006
    2006.03 - Mar 2006
    2006.Q1 - Q1 2006
    BS121 - Accounts Receivable
    2000
    3000
    4000
    9000
    BS122 - Cash
    9000
    80000
    80000
    169000
    BS120 - Current Assets
    11000
    83000
    84000
    178000
    Please tell me how can I solve this issue?
    thanks so much,
    Hungth

    Hi Hung,
    This is not an issue.
    All BS accounts are stored as YTD. Whatever value you see in Mar will be seen in Q1, values in Jun will be same when you look for Q2.
    This is by design behaviour.
    P.S. - BS gives snapshot of company's financial position at a given point of time. Data from previous periods is never summed up unlike PL accounts.
    Regards,
    Ashish

  • HT6154 iphone 5s reminder app is not reminding at all. Rather I input in manually or through Siri; the reminder is there but the date & time is not. When input manually; the date & is deleted after a few seconds. How is this corrected?

    After the latest software update; the iPhone 5s reminder app is not reminding at all. Rather I input in manually or through Siri; the reminder is there but the date & time is not. When inputed manually; the date & is deleted after a few seconds. How can this be corrected?
    big Geo.

    After the latest software update; the iPhone 5s reminder app is not reminding at all. Rather I input in manually or through Siri; the reminder is there but the date & time is not. When inputed manually; the date & is deleted after a few seconds. How can this be corrected?
    big Geo.

  • HT4064 how to do you stop the issue when you have to click several times on your ipad to get into anything?

    how to do you stop the issue when you have to click several times on your ipad to get into anything?

    I think you have enabled VoiceOver; turn off VoiceOver
    1. Press the Home button
    2. Tap Settings.
    3. Then double-tap Settings.
    4. Tap General.
    5. Then double-tap General.
    6. Use three fingers on the screen to scroll to Accessibility
    7. Tap Accessibility.
    8. Then double-tap Accessibility
    9. Tap VoiceOver
    10. Then double-tap VoiceOver.
    11. Tap "On" next to VoiceOver
    12. Then double-tap "On" to turn it off.

  • Time Stamp Offset Issue when Reading TDMS

    I am having an issue when reading a TDMS file and displaying it on a waveform chart in LabVIEW.  My waveform chart will always display the time stamp with a negative offset of 18,000 samples.
    To make that easy, let's say I am sampling at 1000 samples per second and I log my data to TDMS. When I read that TDMS and display my waveform chart data, the chart displays the data read from the TDMS 18 seconds earlier than the recorded wf_start_time stated within the TDMS.  If my wf_start_time is  08:00:20.000 AM 12/02/2014, then my waveform chart displays a start time of 08:00:02.000 AM 12/02/2014.  Likewise if I sample at 4000 samples per second, my start time is off by starting 4.5 seconds earlier.    
    I am setting my Xscale.offset = wf_start_time and it reads back correctly, but the start time on the waveform chart is still wrong.  
    Because I am dealing with larger TDMS files (500mb+), I sometimes decimate the data to view it due to memory issues. Here, this issue occurs again.  If I decimate the data to only display 1 out of every 10 data points, that offset is further shifting by a factor of 10x; going from 18 seconds to 180 seconds.   
    Is this some kind of UTC/system clock time stamp discrepancy or something else? 
    Solved!
    Go to Solution.
    Attachments:
    VI edit tdms.png ‏41 KB

    It's okay to mark your own post as a solution if it really is the solution, as it is in your case.  That way, people that have the same problem know it was solved and they can see what you did to solve it. 
    Bill
    (Mid-Level minion.)
    My support system ensures that I don't look totally incompetent.
    Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.

  • Iteration Speed issue when Indexing 3D array wried to a while-loop

    Brief Description of my Program:
    I am working on the real-time signal generation by using LabView and DAQmx (PCI-6110 card). My vi reads the big data file (typically 8MB txt file containing about 400,000 samples (complex double precision). Then, the signal is pre-processed and I end up with a huge 3D array to feed while-loop (typically 3D array dimension is N x 7 x M where N & M >> 7). Inside the loop, that 3D array is indexed and processed before the results are written to the DAQmx outputs. I have a speed issue when indexing the large 3D array (i.e, 3D array having a large sub-array size). My while-loop could not run fast enough to top-up the DAQmx AO buffer (at the output rate of 96kHz). It could run faster only if I use smaller 3D array (i.e, smaller-sized sub-arrays). I do not quite understand why the size of 3D sub-array affects the rate of looping although I am indexing same sub-array size at each iteration. I really appreciate your comments, advices and helps.
    I include my 3D array format as a picture below.
    Question on LabView:
    How does indexing an 3D array which wires to the while-loop affect the speed of the loop iteration? I found that large dimension of sub-arrays in the 3D array slows down the iteration speed by comparing to indexing the same size of sub-array from smaller-sized sub-arrays of the 3D array to perform signal processing inside the while-loop. Why? Is there any other way of designing LabView Program to improve speed of iteration?
    attachment:

    Thank you all for your prompt replies and your interests. I am sorry about my attachment. But, I have now attached a jpg format image file as you suggested.
    I had read the few papers on large data handling such as "LabVIEW Performance and Memory Management". Thus, I had already tried to avoid making unnecessary copies of data and growing arrays in my while-loop. I am not an expert on LabView, so I am not sure if the issues I have are just LabView fundamental limitations or there are any other ways to improve the iteration speed without reducing the input file size and DAQ output rate.
    As you request, I also attach my top-level vi showing essential sections such as while-loop and its indexing. The attached file is as an image jpg format because the actual vi including Sub-VIs are as big as 3MB in total. I hope my attachment would be useful for anyone who would like to reply my question. If anyone would like to see my whole vi & llb files, I would be interesting to send it to you by an e-mail privately and thus please provide your e-mail address.
    The dimension of my 3D array is N x 7 x M (Page x Row x Column), where N represents number of pages in 3D array, and M represents the size of 1D array.  The file I am currently using forms 3D array of N = 28, & M = 10,731.  Refering to the top-level vi picture I attached, my while-loop indexes each page per iteration and wrap-around.  The sub-VI called "channel" inside the while-loop will further index its input (2D array) into seven of 1D arrays for other signal processsing.  The output from that "channel" sub-VI is the superposition of those seven arrays.  I hope my explaination is clear. 
    Attachement: 3Darray.jpg and MyVi.jpg
    Kind Regards,
    Shein
    Attachments:
    3Darray.jpg ‏30 KB
    MyVI.jpg ‏87 KB

  • Strange issue when typing a number in Lion

    Hi,
    I have a very rare issue when I type a number now and since I updated my system to Lion, no matter which program am I using, Safari, textedit, mail, etc. Every time I type a number (just one), it suddently erase itself, doesn't happen when I type more than one, it's very annoying and this didn't happen when I had Snow Leopard.
    Any ideas?

    …and so on = 58376163294144?
    Could you please answer the questions, this is like drawing hens teeth.
    I have entered the numbers but since I don't know how your sequence is input I can't do the preceeding numbers to the one that changes.
    …which doesn't when I do it in Pages '09 v4.05:
    Peter

  • Input verifier in table cell

    Hi All,
    I have two table in one panel and I used textfield in cell editor, Input verifier is set to these textfield and once focus is gained to other component verify method is called so far so good,
    But problem is that when i entered invalid value in cell of table1 and clicked the mouse on the cell of table2 then
    Verify method is called twice because one time Table gets the focus and second time textfield in cell gets the focus, so two messages are popped up one by one and I don't want two messages.
    i tried two approach
    table1.setVerifyInputWhenFocusTarget(false);
    table2.setVerifyInputWhenFocusTarget(false);with above code, inputverifier doesn't get call.
    I did try
    textfieldOftable1.setVerifyInputWhenFocusTarget(false);
    textfieldOftable2.setVerifyInputWhenFocusTarget(false);With above code, input verifier gets work when I do click on other table, if I do edit first table and click on second table verifier works fine but if i do edit first table and click on the cell of same table, verifier doesn't get called.
    Please share your idea and thoughts with me.
    I would really appreciate if you suggest any other approach to stop the multiple messages
    Thanks,

    Thanks camickr for your suggestions.
    I did try your sample code and modified with my requirement, that looks fine
    but still I have problem with my live code. I am trying to figure out the problem
    thanks a lot

  • Space issues when updating Infinity Blade

    Hey all,
    I've got Infinity Blade, and it's a big app (891MB). When I go to update it, the Infinity Blade icon had a blue bar fill up until it gets to "Installing" then it says it can't do it, I don't have enough space. Now I've got 1.3 GB of space left on my iPad, so even if it was downloading a full new copy there should be enough space left. What's the deal here?
    Any input appreciated, Thanks,
    Dan Perkins

    That's a shame... I often run into the issue when I'm at work and (being impatient) I really want to update and app now. Unfortunately, I've got the 16gb and it's almost ALL apps taking up the space, as opposed to videos. So I can't delete apps and reinstall because I'll lose their data. And I have very little music. I do have a fair bit of family pics but I'd have to go through and delete a bunch 1 by 1.
    Maybe it is time that I start letting go of some of these apps that are cool but I'm REALLY not ever going to use them / play them again
    Thanks for the input.
    dp

Maybe you are looking for

  • How to use POV values from one worksheet in functions?

    I have a Smart View free-form Excel report based on an Essbase cube with 13 dimensions. Am using 1 dimension in columns, 3 in rows, 5 as page dimensions, and 4 in the POV. The member values in the rows, columns, and page dimensions are "fixed" in the

  • Burned Image on screen, but only when using Safari

    I have a burned image on my IPhone's screen, but only when I use Safari. Additionally, when I open Safari's multiple window viewer feature, the image is there as well. The home screen and every other app is unaffected. Turning off and on the phone do

  • Row level access, virtual private database, label security

    Hello All, I'm experiencing an issue.... I've a datawarehouse where some tables, for examples orders are shared for two different countries. Difference is made simply with a field country may contain country_id. So using OBI and publisher I need to p

  • HP6600 Poor Print Quality

    Hi, I am contiinually having to run the Printhead Clean feature before I can print with my Officejet 6600. Once the cleaning is completed, the print quality is fine. Prior to running the cleaner the printing is smudged, blurred or missing, and is oft

  • After CS6 Upgrade, Folios Don't Update

    Having no deadlines to speak of, and only two DPS projects in the works, I've gone whole hog and installed CS6 and updated everything I can find - and for the time being thumbing my nose at Apple by using the viewer on a Kindle Fire which I believe i