![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Board Regular
Join Date: Mar 2002
Posts: 160
|
I'm using =Now() to find the current date and time. But I only require the current time. Can we use a formula or VBA to do this? I want the time to be unchangeable everytime the workbook calculates.
|
|
|
|
|
|
#2 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Austin, Texas USA
Posts: 11,654
|
If you're only concerned about the display of a time value just apply a Time format to the cell containing NOW().
If you want to use just the time component of NOW() in a calculation use =MOD(NOW(),1) and apply a Time format. [ This Message was edited by: Mark W. on 2002-05-09 08:08 ] |
|
|
|
|
|
#3 |
|
Board Regular
Join Date: Mar 2002
Posts: 160
|
Thanks Mark. I still don't quite follow how to get rid of the date. Using the formula u gave I still get the date.
|
|
|
|
|
|
#4 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: Austin, Texas USA
Posts: 11,654
|
Quote:
|
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|