Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 41
Default 2 questions! Related to combobox and time function. HELP!!

hi there!
I have 2 problems in excel and I count with your help because i don't know
the best way to solve them.

1 - I need to do something like a combobox from where i select one text from
others. How do i do this? Is it possible to do it with lists?

2 - I need a funtion or anything that tells me the precise time hh:mm:ss i
write it and doesn't get updated each time change my file like =now() ? How
do i best do this? (it's to meant to monitor the lenght of phone calls)


Hope you can hel me

Bruno
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,646
Default 2 questions! Related to combobox and time function. HELP!!

1. Have a look at Data/Validation/List, perhaps that's you are looking for!
2. Pressing Ctrl+: enters current time in the active cell.

Regards,
Stefi

€˛Bruno€¯ ezt Ć*rta:

hi there!
I have 2 problems in excel and I count with your help because i don't know
the best way to solve them.

1 - I need to do something like a combobox from where i select one text from
others. How do i do this? Is it possible to do it with lists?

2 - I need a funtion or anything that tells me the precise time hh:mm:ss i
write it and doesn't get updated each time change my file like =now() ? How
do i best do this? (it's to meant to monitor the lenght of phone calls)


Hope you can hel me

Bruno

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 41
Default 2 questions! Related to combobox and time function. HELP!!

"Stefi" wrote:

1. Have a look at Data/Validation/List, perhaps that's you are looking for!
2. Pressing Ctrl+: enters current time in the active cell.



1
Where do i check Data/Validation/List ??

2
Ctrl+: solved the problem. Thanks!!!!
Although can you tell me if it works in OpenOffice?

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,646
Default 2 questions! Related to combobox and time function. HELP!!

1. Data menu/Validation submenu/Choose List from the drop down list.
2. As far as I know No, but perhaps you can use the NOW() function, because
it is not updated automatically in OpenOffice.

Regards,
Stefi

€˛Bruno€¯ ezt Ć*rta:

"Stefi" wrote:

1. Have a look at Data/Validation/List, perhaps that's you are looking for!
2. Pressing Ctrl+: enters current time in the active cell.



1
Where do i check Data/Validation/List ??

2
Ctrl+: solved the problem. Thanks!!!!
Although can you tell me if it works in OpenOffice?

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,646
Default 2 questions! Related to combobox and time function. HELP!!

1. Have a look at Data/Validation/List!
2. Pressing CTRL+: enters current time.
Regards,
Stefi


€˛Bruno€¯ ezt Ć*rta:

hi there!
I have 2 problems in excel and I count with your help because i don't know
the best way to solve them.

1 - I need to do something like a combobox from where i select one text from
others. How do i do this? Is it possible to do it with lists?

2 - I need a funtion or anything that tells me the precise time hh:mm:ss i
write it and doesn't get updated each time change my file like =now() ? How
do i best do this? (it's to meant to monitor the lenght of phone calls)


Hope you can hel me

Bruno



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 41
Default 2 questions! Related to combobox and time function. HELP!!

Ok i already solved problem 1!!

Problem 2 is resonably done but i would like to make it more acurate.

The Ctrl+: gives me the correct hh:mm but it doens't give me the seconds
even if i chose hh:mm:ss it shows like 11:41:00.

Is there anything i can change in my EXCEl to give the seconds?
  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,646
Default 2 questions! Related to combobox and time function. HELP!!

Unfortunately I could find only a workaround method, a Change event macro.
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Address = "$D$1" Then 'adjust reference as required!
Target.NumberFormat = "hh:mm:ss"
Target.Value = Time
End If
End Sub

Type anything in cell D1, hitting Enter will store current time with seconds.
Regards,
Stefi

€˛Bruno€¯ ezt Ć*rta:

Ok i already solved problem 1!!

Problem 2 is resonably done but i would like to make it more acurate.

The Ctrl+: gives me the correct hh:mm but it doens't give me the seconds
even if i chose hh:mm:ss it shows like 11:41:00.

Is there anything i can change in my EXCEl to give the seconds?

  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 41
Default 2 questions! Related to combobox and time function. HELP!!

I tried the code would gave me it worked fine for one cell but it doesn't
work for things like $D$1:$D$10.

Is there anyway to return the seconds along a column with that code?
  #9   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,646
Default 2 questions! Related to combobox and time function. HELP!!

This version works for all cell in column D:
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Column = 4 Then '4th (D) column
Target.NumberFormat = "hh:mm:ss"
Target.Value = Time
End If
End Sub

Regards,
Stefi

€˛Bruno€¯ ezt Ć*rta:

I tried the code would gave me it worked fine for one cell but it doesn't
work for things like $D$1:$D$10.

Is there anyway to return the seconds along a column with that code?

  #10   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 41
Default 2 questions! Related to combobox and time function. HELP!!

Ok i already solved problem 1!!

Problem 2 is resonably done but i would like to make it more acurate.

The Ctrl+: gives me the correct hh:mm but it doens't give me the seconds
even if i chose hh:mm:ss it shows like 11:41:00.

Is there anything i can change in my EXCEl to give the seconds?


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
help on spinbutton controllinng a text or ComboBox showing time [email protected] Excel Discussion (Misc queries) 4 July 29th 07 04:11 AM
time questions (roundup & convert hh to mm steven Excel Discussion (Misc queries) 1 May 18th 06 10:43 PM
Several function questions (nested functions) miller Excel Worksheet Functions 6 October 10th 05 05:58 AM
More time questions and IF function problem baz Excel Worksheet Functions 6 June 17th 05 08:56 PM
Function Related Question Sandeep Arora Excel Discussion (Misc queries) 1 February 2nd 05 07:36 PM


All times are GMT +1. The time now is 02:18 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"