LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 65
Default VBA time conversion

Suppose I have the following string variable:

s = "10:20 PM"

Is there a function that will convert s to military like so?:

s = "2200" ' Now represents military time

-Robert



 
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
Time Conversion Jodi Macy[_2_] Excel Worksheet Functions 3 January 5th 09 08:33 PM
time conversion GAIDEN Excel Worksheet Functions 3 November 17th 08 03:00 AM
Time Conversion Richard Excel Discussion (Misc queries) 2 June 15th 07 04:04 PM
time conversion sup191 Excel Programming 13 June 17th 04 05:28 PM
TIME CONVERSION Tom Excel Programming 1 May 25th 04 12:33 PM


All times are GMT +1. The time now is 02:15 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"