Skip to main content

Tips: How to enter the time in MS Excel as HH:MM:SS

As everyone knows, we can get the time in Excel by using the Ctrl + Shift + ; keys. However, if we use these shortcut keys, we can get the time in HH:MM format. Therefore, if you wish to get the time format as HH:MM:SS (00:00:00), you can follow the following steps. While performing these steps, the main thing you’ve to note is that there are no short cut keys available to get the time format HH:MM:SS (00:00:00). However, we can create a macro and assign it to your shortcut key. You can also use the same shortcut keys that you use for getting the time.
Now, let’s check how to create a macro for setting the time.

•    First, click on Tools on the top menu to select Macro.
•    Now, select Visual Basic Editor.
•    After that, it is required to select Module from the Insert on the top menu.
•    Once you’ve performed the above steps, it is required to copy and paste the following code.

Sub TimeWithSeconds()
ActiveCell.Value = Time
ActiveCell.NumberFormat = "h:mm:ss"
End Sub

•    Now, click on File on the top menu and then save the file.
•    Then, you can close the Visual Basic Editor.

If you wish to add this Macro to a shortcut key, you can follow the following steps.

•    As usual, click on Tools from the menu bar.
•    Now, select Macro and then select Macros.
•    Then, select the TimeWithSeconds Macro.
•    After that, it is required to click on Options.
•    Then, enter the shortcut key you would like to use.
•    Now, click on OK.

That’s it. All it is done. Now, you should be able to use the shortcut key to enter the time with the current seconds.

Popular posts from this blog

New Micro battery, power packed for high performance

For a size of a few millimetres, the new micro-batteries are powerful enough to jump start a car battery and then quickly charge the cell phone. Researchers from the University of Illinois have developed the micro batteries which can be used to drive compact electronic devices and new applications for radio communications. The micro batteries are so good that they can even out power the super capacitors. The results were published in ‘Nature Communications’ in the April 16 issue. The micro batteries have energy and power and with the researchers tweaking the structure of the micro batteries a little bit, its use can be for wide range applications.

The high performance of the micro battery is based on its 3-dimensional micro-structure. Based on the design of fast charging cathode by Professor Paul Braun’s group, researchers developed the matching anode and integrated it with the fast charging cathode at a micro-scale and made a complete battery with high performance. These batteries cou…

HTC Touch Diamond SmartPhone!

The phones design is an innovative in which the user has the geometric form language to make sure a clutter-free environment for screening content. The San Francisco based studio One & Co collaborated with HTC Taiwan Design team to create Diamond HTC smartphone.

The HTC phone is quite wonderful with design and the rapid development in the smartphone market the HTC has taken innovative steps to capture the SmartPhone market HTC develops these kind of new inventive designs.

How to Automatically Convert any RSS Feed to an iPhone Web app!

For iPhone users this is another web app which converts any well formed XML RSS feed to an iPhone version. It is possible because it is worked with the typical sliding style interface to suit the iPhone optimized version. For instance if you had the iPhone right now here is the Google News Feed

Jim Liddle, one of the creators of the service, told iPhone Atlas “You can book mark the generated site and use it to host your own content and reference it from your own. It seems that these feed on your iPhone is quiet usable.