Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 287
Default how do i program excel to add two times together

how do i program excel to add two times together?
i am trying to create a log sheet for run times for a tv station
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,452
Default how do i program excel to add two times together

How about just adding them up:

11:19
00:41
12:00


RBS

"adam" wrote in message
...
how do i program excel to add two times together?
i am trying to create a log sheet for run times for a tv station


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 287
Default how do i program excel to add two times together

how do i get it to add them up i do not know much about excel

"RB Smissaert" wrote:

How about just adding them up:

11:19
00:41
12:00


RBS

"adam" wrote in message
...
how do i program excel to add two times together?
i am trying to create a log sheet for run times for a tv station



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,452
Default how do i program excel to add two times together

If you have 11:19 in cell A1 and 00:41 in cells A2 and in cell A3:
= A1 + A2
then you get 12:00 in A3

Or are you talking about coding this in VBA?

RBS

"adam" wrote in message
...
how do i get it to add them up i do not know much about excel

"RB Smissaert" wrote:

How about just adding them up:

11:19
00:41
12:00


RBS

"adam" wrote in message
...
how do i program excel to add two times together?
i am trying to create a log sheet for run times for a tv station




  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 287
Default how do i program excel to add two times together

i think this might work but how woyld you do it in vba?

"RB Smissaert" wrote:

If you have 11:19 in cell A1 and 00:41 in cells A2 and in cell A3:
= A1 + A2
then you get 12:00 in A3

Or are you talking about coding this in VBA?

RBS

"adam" wrote in message
...
how do i get it to add them up i do not know much about excel

"RB Smissaert" wrote:

How about just adding them up:

11:19
00:41
12:00


RBS

"adam" wrote in message
...
how do i program excel to add two times together?
i am trying to create a log sheet for run times for a tv station






  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,452
Default how do i program excel to add two times together

Sub test()

Dim Time1 As Date
Dim Time2 As Date

Time1 = "11:19"
Time2 = "00:41"

MsgBox Time1 + Time2

End Sub


RBS


"adam" wrote in message
...
i think this might work but how woyld you do it in vba?

"RB Smissaert" wrote:

If you have 11:19 in cell A1 and 00:41 in cells A2 and in cell A3:
= A1 + A2
then you get 12:00 in A3

Or are you talking about coding this in VBA?

RBS

"adam" wrote in message
...
how do i get it to add them up i do not know much about excel

"RB Smissaert" wrote:

How about just adding them up:

11:19
00:41
12:00


RBS

"adam" wrote in message
...
how do i program excel to add two times together?
i am trying to create a log sheet for run times for a tv station





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
Calculate times between dates and times in Excel Helio Excel Discussion (Misc queries) 1 March 25th 10 04:29 AM
Is there a way to unload the loaded XLL file in Excel? Hi all, I amdebugging XLL link library using Visual C++. Everytime I rebuild the XLL, Ihave to close the whole Excel program and relaunch the Excel program again,and then load in the newly gene LunaMoon Excel Discussion (Misc queries) 0 July 28th 08 11:03 PM
Calculation of hourly rate times hours times 1.5 Newbusinessbod Excel Worksheet Functions 1 December 6th 05 04:44 PM
Slow in program after running few times tang lk Excel Programming 5 November 26th 04 03:37 PM
merging excel program with tdc finance program judy Excel Programming 0 November 5th 03 08:01 PM


All times are GMT +1. The time now is 12:41 AM.

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

About Us

"It's about Microsoft Excel"