How can I get video timecodes to display properly in Excel?How to extend my display properly in Mac OS...

Today is the Center

Type 1 Error & Type 2 Error's pregnancy test analogy: is it legit?

Why are weather verbs 曇る and 晴れる treated differently in this sentence?

How is the claim "I am in New York only if I am in America" the same as "If I am in New York, then I am in America?

What typically incentivizes a professor to change jobs to a lower ranking university?

If Manufacturer spice model and Datasheet give different values which should I use?

Animated Series: Alien black spider robot crashes on Earth

If two metric spaces are topologically equivalent (homeomorphic) imply that they are complete?

Basic combinations logic doubt in probability

How to re-create Edward Weson's Pepper No. 30?

Can I make popcorn with any corn?

Can an x86 CPU running in real mode be considered to be basically an 8086 CPU?

How is it possible to have an ability score that is less than 3?

How to say job offer in Mandarin/Cantonese?

Mathematical cryptic clues

Do VLANs within a subnet need to have their own subnet for router on a stick?

What's the output of a record cartridge playing an out-of-speed record

What do the dots in this tr command do: tr .............A-Z A-ZA-Z <<< "JVPQBOV" (with 13 dots)

How old can references or sources in a thesis be?

I’m planning on buying a laser printer but concerned about the life cycle of toner in the machine

Why doesn't Newton's third law mean a person bounces back to where they started when they hit the ground?

Why linear maps act like matrix multiplication?

What is the offset in a seaplane's hull?

"which" command doesn't work / path of Safari?



How can I get video timecodes to display properly in Excel?


How to extend my display properly in Mac OS X?Notebook display not working properlyHow can I get 132 column display in DOS 6.22?Monitor doesn't properly display the supported resolutionExcel display issue - ##Display, just can't get it figured outCan laptop display 144Hz on extern display?Excel Formula Bar DisplayExcel won't format dates properlycan I get my screen working properly again?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







1















Unlike the other questions answered, I haven't seen my problem addressed. I work in TV and have time codes that need to be evaluated/stored.
01:23:45:04 is 1 hour, 23 mins, 45 secs and 4 frames (out of 24 or 30 depending on stuff).
When I concatenate some separate values from Excel cells together into a timecode, Excel ignores leading 00's all over the place, and won't allow my format. It likes days:hrs:mm:ss:partial secs displayed in 000 ths. etc.... I need to be able to combine 4 different 2 digit numbers into an 8 digit time code separated by colons (:) exactly like this: 01:43:23:02 and not have Excel give me 1:43:23:2.










share|improve this question




















  • 1





    this is a colon : -- a semicolon looks like this ;

    – teylyn
    Feb 12 '13 at 22:32


















1















Unlike the other questions answered, I haven't seen my problem addressed. I work in TV and have time codes that need to be evaluated/stored.
01:23:45:04 is 1 hour, 23 mins, 45 secs and 4 frames (out of 24 or 30 depending on stuff).
When I concatenate some separate values from Excel cells together into a timecode, Excel ignores leading 00's all over the place, and won't allow my format. It likes days:hrs:mm:ss:partial secs displayed in 000 ths. etc.... I need to be able to combine 4 different 2 digit numbers into an 8 digit time code separated by colons (:) exactly like this: 01:43:23:02 and not have Excel give me 1:43:23:2.










share|improve this question




















  • 1





    this is a colon : -- a semicolon looks like this ;

    – teylyn
    Feb 12 '13 at 22:32














1












1








1








Unlike the other questions answered, I haven't seen my problem addressed. I work in TV and have time codes that need to be evaluated/stored.
01:23:45:04 is 1 hour, 23 mins, 45 secs and 4 frames (out of 24 or 30 depending on stuff).
When I concatenate some separate values from Excel cells together into a timecode, Excel ignores leading 00's all over the place, and won't allow my format. It likes days:hrs:mm:ss:partial secs displayed in 000 ths. etc.... I need to be able to combine 4 different 2 digit numbers into an 8 digit time code separated by colons (:) exactly like this: 01:43:23:02 and not have Excel give me 1:43:23:2.










share|improve this question
















Unlike the other questions answered, I haven't seen my problem addressed. I work in TV and have time codes that need to be evaluated/stored.
01:23:45:04 is 1 hour, 23 mins, 45 secs and 4 frames (out of 24 or 30 depending on stuff).
When I concatenate some separate values from Excel cells together into a timecode, Excel ignores leading 00's all over the place, and won't allow my format. It likes days:hrs:mm:ss:partial secs displayed in 000 ths. etc.... I need to be able to combine 4 different 2 digit numbers into an 8 digit time code separated by colons (:) exactly like this: 01:43:23:02 and not have Excel give me 1:43:23:2.







microsoft-excel display






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Feb 13 '13 at 7:17









Ellesa

8,74923046




8,74923046










asked Feb 12 '13 at 21:57









user197765user197765

61




61








  • 1





    this is a colon : -- a semicolon looks like this ;

    – teylyn
    Feb 12 '13 at 22:32














  • 1





    this is a colon : -- a semicolon looks like this ;

    – teylyn
    Feb 12 '13 at 22:32








1




1





this is a colon : -- a semicolon looks like this ;

– teylyn
Feb 12 '13 at 22:32





this is a colon : -- a semicolon looks like this ;

– teylyn
Feb 12 '13 at 22:32










3 Answers
3






active

oldest

votes


















1














Do you mean you have hours, minutes, seconds and frames in different cells? If you have those in A2, B2, C2 and D2 respectively then try using TEXT function to concatenate and retain leading zeroes, i.e.



=TEXT(A2,"00:")&TEXT(B2,"00:")&TEXT(C2,"00:")&TEXT(D2,"00")





share|improve this answer

































    0














    If you could live with the frame being a decimal this might work:



    hh:mm:ss.00


    Otherwise I think you need to have the frame in a separate cell since it doesn't fit in with normal datetime stamps.






    share|improve this answer































      0














      If you only want to store them, it is enough to format the cell. If you are going to use these data, you would have to use another method.



      Only store:



      1- Select the range of cells you want to format
      2- Enter Start-Number-Format-Customize
      3- Write on type: 00:00:00:00


      From that moment the cell will adapt the data entered to the format 00:00:00:00



      If you enter 123 the cell will show 00:00:01:23



      If you enter 1234567 the cell will show 01:23:45:67



      Attention! If you click on a formatted cell with data you will see that the format disappears. This is because what we have done is simply force the cell to a kind of graphic representation.



      A cell in text mode would be the right thing to store this type of data.
      To do addition and subtraction of TC this method does not work because a TC is a sexagesimal system and excel uses the decimal. Nor is it useful to format the cell in TIME mode.



      Example of what happens in unformatted and formatted cells.



      There is another way and it is to use a text string to store a TC in the format 00:00:00:00



      When you want to add two TC's you have to pass everything to frames add or subtract those two values and convert again to TC code.
      Since the data is a string, first remove the colon from the TC with the replace statement:



      numToConvert = Replace (numToConvert, ":", "")


      The function to convert to seconds would be something like this:



      Dim fra2s, seg2s, min2s, hor2s As Double
      fra2s = 0
      seg2s = 0
      min2s = 0
      hor2s = 0
      fra2s = Mid (numToConvert, 7, 2) / framesRef
      sec2s = Mid (numToConvert, 5, 2)
      min2s = Mid (numToConvert, 3, 2) * 60
      hor2s = Mid (numToConvert, 1, 2) * 3600
      TcInSeconds = hor2s + min2s + seg2s + fra2s


      where framesRef is the reference system (24,25,29.97 ...)



      Now we add or subtract the two values and re-calculate the TC in its correct format. The function would be something like this:



      Dim s2fra, s2sec, s2min, s2hor, TimeCodeTMP As Double
      TimeCodeTMP = numToConvertInSeconds
      s2fra = 0
      s2seg = 0
      s2min = 0
      s2hor = 0
      TimeCodeTMP = 0

      'The "" or "MOD" operators can not be used because VBA Excel returns integer values and we need decimals
      s2hor = Int (TimeCodeTMP / 3600)
      TimeCodeTMP = TimeCodeTMP - (3600 * s2hor)
      s2min = Int (TimeCodeTMP / 60)
      TimeCodeTMP = TimeCodeTMP - (60 * s2min)
      s2seg = Int (TimeCodeTMP)
      TimeCodeTMP = TimeCodeTMP - (s2seg)
      s2fra = Int (Round (TimeCodeTMP * framesRef, 0))
      HHMMSSFF = Right ("00" & s2hor, 2) & ":" & Right ("00" & s2min, 2) & ":" & Right ("00" & s2sec, 2) & ":" & Right ("00"& s2fra, 2)


      The last line is responsible for adding a zero to the number under 10. Example: 1:5:42:7 becomes 01:05:42:07 in string format.






      share|improve this answer


























        Your Answer








        StackExchange.ready(function() {
        var channelOptions = {
        tags: "".split(" "),
        id: "3"
        };
        initTagRenderer("".split(" "), "".split(" "), channelOptions);

        StackExchange.using("externalEditor", function() {
        // Have to fire editor after snippets, if snippets enabled
        if (StackExchange.settings.snippets.snippetsEnabled) {
        StackExchange.using("snippets", function() {
        createEditor();
        });
        }
        else {
        createEditor();
        }
        });

        function createEditor() {
        StackExchange.prepareEditor({
        heartbeatType: 'answer',
        autoActivateHeartbeat: false,
        convertImagesToLinks: true,
        noModals: true,
        showLowRepImageUploadWarning: true,
        reputationToPostImages: 10,
        bindNavPrevention: true,
        postfix: "",
        imageUploader: {
        brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
        contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
        allowUrls: true
        },
        onDemand: true,
        discardSelector: ".discard-answer"
        ,immediatelyShowMarkdownHelp:true
        });


        }
        });














        draft saved

        draft discarded


















        StackExchange.ready(
        function () {
        StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f550260%2fhow-can-i-get-video-timecodes-to-display-properly-in-excel%23new-answer', 'question_page');
        }
        );

        Post as a guest















        Required, but never shown

























        3 Answers
        3






        active

        oldest

        votes








        3 Answers
        3






        active

        oldest

        votes









        active

        oldest

        votes






        active

        oldest

        votes









        1














        Do you mean you have hours, minutes, seconds and frames in different cells? If you have those in A2, B2, C2 and D2 respectively then try using TEXT function to concatenate and retain leading zeroes, i.e.



        =TEXT(A2,"00:")&TEXT(B2,"00:")&TEXT(C2,"00:")&TEXT(D2,"00")





        share|improve this answer






























          1














          Do you mean you have hours, minutes, seconds and frames in different cells? If you have those in A2, B2, C2 and D2 respectively then try using TEXT function to concatenate and retain leading zeroes, i.e.



          =TEXT(A2,"00:")&TEXT(B2,"00:")&TEXT(C2,"00:")&TEXT(D2,"00")





          share|improve this answer




























            1












            1








            1







            Do you mean you have hours, minutes, seconds and frames in different cells? If you have those in A2, B2, C2 and D2 respectively then try using TEXT function to concatenate and retain leading zeroes, i.e.



            =TEXT(A2,"00:")&TEXT(B2,"00:")&TEXT(C2,"00:")&TEXT(D2,"00")





            share|improve this answer















            Do you mean you have hours, minutes, seconds and frames in different cells? If you have those in A2, B2, C2 and D2 respectively then try using TEXT function to concatenate and retain leading zeroes, i.e.



            =TEXT(A2,"00:")&TEXT(B2,"00:")&TEXT(C2,"00:")&TEXT(D2,"00")






            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited yesterday









            JakeGould

            32.7k10100142




            32.7k10100142










            answered Feb 12 '13 at 22:20









            barry houdinibarry houdini

            10.1k11420




            10.1k11420

























                0














                If you could live with the frame being a decimal this might work:



                hh:mm:ss.00


                Otherwise I think you need to have the frame in a separate cell since it doesn't fit in with normal datetime stamps.






                share|improve this answer




























                  0














                  If you could live with the frame being a decimal this might work:



                  hh:mm:ss.00


                  Otherwise I think you need to have the frame in a separate cell since it doesn't fit in with normal datetime stamps.






                  share|improve this answer


























                    0












                    0








                    0







                    If you could live with the frame being a decimal this might work:



                    hh:mm:ss.00


                    Otherwise I think you need to have the frame in a separate cell since it doesn't fit in with normal datetime stamps.






                    share|improve this answer













                    If you could live with the frame being a decimal this might work:



                    hh:mm:ss.00


                    Otherwise I think you need to have the frame in a separate cell since it doesn't fit in with normal datetime stamps.







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered Feb 12 '13 at 22:08









                    Brad PattonBrad Patton

                    9,206123367




                    9,206123367























                        0














                        If you only want to store them, it is enough to format the cell. If you are going to use these data, you would have to use another method.



                        Only store:



                        1- Select the range of cells you want to format
                        2- Enter Start-Number-Format-Customize
                        3- Write on type: 00:00:00:00


                        From that moment the cell will adapt the data entered to the format 00:00:00:00



                        If you enter 123 the cell will show 00:00:01:23



                        If you enter 1234567 the cell will show 01:23:45:67



                        Attention! If you click on a formatted cell with data you will see that the format disappears. This is because what we have done is simply force the cell to a kind of graphic representation.



                        A cell in text mode would be the right thing to store this type of data.
                        To do addition and subtraction of TC this method does not work because a TC is a sexagesimal system and excel uses the decimal. Nor is it useful to format the cell in TIME mode.



                        Example of what happens in unformatted and formatted cells.



                        There is another way and it is to use a text string to store a TC in the format 00:00:00:00



                        When you want to add two TC's you have to pass everything to frames add or subtract those two values and convert again to TC code.
                        Since the data is a string, first remove the colon from the TC with the replace statement:



                        numToConvert = Replace (numToConvert, ":", "")


                        The function to convert to seconds would be something like this:



                        Dim fra2s, seg2s, min2s, hor2s As Double
                        fra2s = 0
                        seg2s = 0
                        min2s = 0
                        hor2s = 0
                        fra2s = Mid (numToConvert, 7, 2) / framesRef
                        sec2s = Mid (numToConvert, 5, 2)
                        min2s = Mid (numToConvert, 3, 2) * 60
                        hor2s = Mid (numToConvert, 1, 2) * 3600
                        TcInSeconds = hor2s + min2s + seg2s + fra2s


                        where framesRef is the reference system (24,25,29.97 ...)



                        Now we add or subtract the two values and re-calculate the TC in its correct format. The function would be something like this:



                        Dim s2fra, s2sec, s2min, s2hor, TimeCodeTMP As Double
                        TimeCodeTMP = numToConvertInSeconds
                        s2fra = 0
                        s2seg = 0
                        s2min = 0
                        s2hor = 0
                        TimeCodeTMP = 0

                        'The "" or "MOD" operators can not be used because VBA Excel returns integer values and we need decimals
                        s2hor = Int (TimeCodeTMP / 3600)
                        TimeCodeTMP = TimeCodeTMP - (3600 * s2hor)
                        s2min = Int (TimeCodeTMP / 60)
                        TimeCodeTMP = TimeCodeTMP - (60 * s2min)
                        s2seg = Int (TimeCodeTMP)
                        TimeCodeTMP = TimeCodeTMP - (s2seg)
                        s2fra = Int (Round (TimeCodeTMP * framesRef, 0))
                        HHMMSSFF = Right ("00" & s2hor, 2) & ":" & Right ("00" & s2min, 2) & ":" & Right ("00" & s2sec, 2) & ":" & Right ("00"& s2fra, 2)


                        The last line is responsible for adding a zero to the number under 10. Example: 1:5:42:7 becomes 01:05:42:07 in string format.






                        share|improve this answer






























                          0














                          If you only want to store them, it is enough to format the cell. If you are going to use these data, you would have to use another method.



                          Only store:



                          1- Select the range of cells you want to format
                          2- Enter Start-Number-Format-Customize
                          3- Write on type: 00:00:00:00


                          From that moment the cell will adapt the data entered to the format 00:00:00:00



                          If you enter 123 the cell will show 00:00:01:23



                          If you enter 1234567 the cell will show 01:23:45:67



                          Attention! If you click on a formatted cell with data you will see that the format disappears. This is because what we have done is simply force the cell to a kind of graphic representation.



                          A cell in text mode would be the right thing to store this type of data.
                          To do addition and subtraction of TC this method does not work because a TC is a sexagesimal system and excel uses the decimal. Nor is it useful to format the cell in TIME mode.



                          Example of what happens in unformatted and formatted cells.



                          There is another way and it is to use a text string to store a TC in the format 00:00:00:00



                          When you want to add two TC's you have to pass everything to frames add or subtract those two values and convert again to TC code.
                          Since the data is a string, first remove the colon from the TC with the replace statement:



                          numToConvert = Replace (numToConvert, ":", "")


                          The function to convert to seconds would be something like this:



                          Dim fra2s, seg2s, min2s, hor2s As Double
                          fra2s = 0
                          seg2s = 0
                          min2s = 0
                          hor2s = 0
                          fra2s = Mid (numToConvert, 7, 2) / framesRef
                          sec2s = Mid (numToConvert, 5, 2)
                          min2s = Mid (numToConvert, 3, 2) * 60
                          hor2s = Mid (numToConvert, 1, 2) * 3600
                          TcInSeconds = hor2s + min2s + seg2s + fra2s


                          where framesRef is the reference system (24,25,29.97 ...)



                          Now we add or subtract the two values and re-calculate the TC in its correct format. The function would be something like this:



                          Dim s2fra, s2sec, s2min, s2hor, TimeCodeTMP As Double
                          TimeCodeTMP = numToConvertInSeconds
                          s2fra = 0
                          s2seg = 0
                          s2min = 0
                          s2hor = 0
                          TimeCodeTMP = 0

                          'The "" or "MOD" operators can not be used because VBA Excel returns integer values and we need decimals
                          s2hor = Int (TimeCodeTMP / 3600)
                          TimeCodeTMP = TimeCodeTMP - (3600 * s2hor)
                          s2min = Int (TimeCodeTMP / 60)
                          TimeCodeTMP = TimeCodeTMP - (60 * s2min)
                          s2seg = Int (TimeCodeTMP)
                          TimeCodeTMP = TimeCodeTMP - (s2seg)
                          s2fra = Int (Round (TimeCodeTMP * framesRef, 0))
                          HHMMSSFF = Right ("00" & s2hor, 2) & ":" & Right ("00" & s2min, 2) & ":" & Right ("00" & s2sec, 2) & ":" & Right ("00"& s2fra, 2)


                          The last line is responsible for adding a zero to the number under 10. Example: 1:5:42:7 becomes 01:05:42:07 in string format.






                          share|improve this answer




























                            0












                            0








                            0







                            If you only want to store them, it is enough to format the cell. If you are going to use these data, you would have to use another method.



                            Only store:



                            1- Select the range of cells you want to format
                            2- Enter Start-Number-Format-Customize
                            3- Write on type: 00:00:00:00


                            From that moment the cell will adapt the data entered to the format 00:00:00:00



                            If you enter 123 the cell will show 00:00:01:23



                            If you enter 1234567 the cell will show 01:23:45:67



                            Attention! If you click on a formatted cell with data you will see that the format disappears. This is because what we have done is simply force the cell to a kind of graphic representation.



                            A cell in text mode would be the right thing to store this type of data.
                            To do addition and subtraction of TC this method does not work because a TC is a sexagesimal system and excel uses the decimal. Nor is it useful to format the cell in TIME mode.



                            Example of what happens in unformatted and formatted cells.



                            There is another way and it is to use a text string to store a TC in the format 00:00:00:00



                            When you want to add two TC's you have to pass everything to frames add or subtract those two values and convert again to TC code.
                            Since the data is a string, first remove the colon from the TC with the replace statement:



                            numToConvert = Replace (numToConvert, ":", "")


                            The function to convert to seconds would be something like this:



                            Dim fra2s, seg2s, min2s, hor2s As Double
                            fra2s = 0
                            seg2s = 0
                            min2s = 0
                            hor2s = 0
                            fra2s = Mid (numToConvert, 7, 2) / framesRef
                            sec2s = Mid (numToConvert, 5, 2)
                            min2s = Mid (numToConvert, 3, 2) * 60
                            hor2s = Mid (numToConvert, 1, 2) * 3600
                            TcInSeconds = hor2s + min2s + seg2s + fra2s


                            where framesRef is the reference system (24,25,29.97 ...)



                            Now we add or subtract the two values and re-calculate the TC in its correct format. The function would be something like this:



                            Dim s2fra, s2sec, s2min, s2hor, TimeCodeTMP As Double
                            TimeCodeTMP = numToConvertInSeconds
                            s2fra = 0
                            s2seg = 0
                            s2min = 0
                            s2hor = 0
                            TimeCodeTMP = 0

                            'The "" or "MOD" operators can not be used because VBA Excel returns integer values and we need decimals
                            s2hor = Int (TimeCodeTMP / 3600)
                            TimeCodeTMP = TimeCodeTMP - (3600 * s2hor)
                            s2min = Int (TimeCodeTMP / 60)
                            TimeCodeTMP = TimeCodeTMP - (60 * s2min)
                            s2seg = Int (TimeCodeTMP)
                            TimeCodeTMP = TimeCodeTMP - (s2seg)
                            s2fra = Int (Round (TimeCodeTMP * framesRef, 0))
                            HHMMSSFF = Right ("00" & s2hor, 2) & ":" & Right ("00" & s2min, 2) & ":" & Right ("00" & s2sec, 2) & ":" & Right ("00"& s2fra, 2)


                            The last line is responsible for adding a zero to the number under 10. Example: 1:5:42:7 becomes 01:05:42:07 in string format.






                            share|improve this answer















                            If you only want to store them, it is enough to format the cell. If you are going to use these data, you would have to use another method.



                            Only store:



                            1- Select the range of cells you want to format
                            2- Enter Start-Number-Format-Customize
                            3- Write on type: 00:00:00:00


                            From that moment the cell will adapt the data entered to the format 00:00:00:00



                            If you enter 123 the cell will show 00:00:01:23



                            If you enter 1234567 the cell will show 01:23:45:67



                            Attention! If you click on a formatted cell with data you will see that the format disappears. This is because what we have done is simply force the cell to a kind of graphic representation.



                            A cell in text mode would be the right thing to store this type of data.
                            To do addition and subtraction of TC this method does not work because a TC is a sexagesimal system and excel uses the decimal. Nor is it useful to format the cell in TIME mode.



                            Example of what happens in unformatted and formatted cells.



                            There is another way and it is to use a text string to store a TC in the format 00:00:00:00



                            When you want to add two TC's you have to pass everything to frames add or subtract those two values and convert again to TC code.
                            Since the data is a string, first remove the colon from the TC with the replace statement:



                            numToConvert = Replace (numToConvert, ":", "")


                            The function to convert to seconds would be something like this:



                            Dim fra2s, seg2s, min2s, hor2s As Double
                            fra2s = 0
                            seg2s = 0
                            min2s = 0
                            hor2s = 0
                            fra2s = Mid (numToConvert, 7, 2) / framesRef
                            sec2s = Mid (numToConvert, 5, 2)
                            min2s = Mid (numToConvert, 3, 2) * 60
                            hor2s = Mid (numToConvert, 1, 2) * 3600
                            TcInSeconds = hor2s + min2s + seg2s + fra2s


                            where framesRef is the reference system (24,25,29.97 ...)



                            Now we add or subtract the two values and re-calculate the TC in its correct format. The function would be something like this:



                            Dim s2fra, s2sec, s2min, s2hor, TimeCodeTMP As Double
                            TimeCodeTMP = numToConvertInSeconds
                            s2fra = 0
                            s2seg = 0
                            s2min = 0
                            s2hor = 0
                            TimeCodeTMP = 0

                            'The "" or "MOD" operators can not be used because VBA Excel returns integer values and we need decimals
                            s2hor = Int (TimeCodeTMP / 3600)
                            TimeCodeTMP = TimeCodeTMP - (3600 * s2hor)
                            s2min = Int (TimeCodeTMP / 60)
                            TimeCodeTMP = TimeCodeTMP - (60 * s2min)
                            s2seg = Int (TimeCodeTMP)
                            TimeCodeTMP = TimeCodeTMP - (s2seg)
                            s2fra = Int (Round (TimeCodeTMP * framesRef, 0))
                            HHMMSSFF = Right ("00" & s2hor, 2) & ":" & Right ("00" & s2min, 2) & ":" & Right ("00" & s2sec, 2) & ":" & Right ("00"& s2fra, 2)


                            The last line is responsible for adding a zero to the number under 10. Example: 1:5:42:7 becomes 01:05:42:07 in string format.







                            share|improve this answer














                            share|improve this answer



                            share|improve this answer








                            edited yesterday


























                            community wiki





                            7 revs, 2 users 93%
                            APO69































                                draft saved

                                draft discarded




















































                                Thanks for contributing an answer to Super User!


                                • Please be sure to answer the question. Provide details and share your research!

                                But avoid



                                • Asking for help, clarification, or responding to other answers.

                                • Making statements based on opinion; back them up with references or personal experience.


                                To learn more, see our tips on writing great answers.




                                draft saved


                                draft discarded














                                StackExchange.ready(
                                function () {
                                StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f550260%2fhow-can-i-get-video-timecodes-to-display-properly-in-excel%23new-answer', 'question_page');
                                }
                                );

                                Post as a guest















                                Required, but never shown





















































                                Required, but never shown














                                Required, but never shown












                                Required, but never shown







                                Required, but never shown

































                                Required, but never shown














                                Required, but never shown












                                Required, but never shown







                                Required, but never shown







                                Popular posts from this blog

                                Cannot install PyQt5 The Next CEO of Stack OverflowCannot install tcpreplay 3.4.4cannot...

                                Kapp-Putsch Acontecimentos | Outros artigos | Menu de navegação

                                Why did early computer designers eschew integers? The Next CEO of Stack OverflowWhat register...