Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Excel 2007 export/import datetime


I hate working with data and times in VBA because it is very clumbsy.
I often have to do work around like you are doing. One thing that
bothers me is your statement that VBA doesn't recognize time after
24:00. Since any time greater than 24 hoursa should be listed as Jan 2.
From my experience what I found is if you declare your varaible as time
VBA truncates the time to 24 hours. But is you declare the variables as
single or double VBA will not truncate. I often have to switch between
variables declared as single and time to get my VBA code to work
properly.


--
joel
------------------------------------------------------------------------
joel's Profile: 229
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=189062

http://www.thecodecage.com/forumz/chat.php

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
Excel 2007 - Developer tab - xml import/export functions biz7 Excel Worksheet Functions 1 June 26th 09 08:27 PM
Import/export netCDF files to Excel Piet Jongejan Excel Discussion (Misc queries) 1 July 22nd 08 12:32 PM
Add Visual Foxpro 9 DBF import / Export to Excel 2007 mua Excel Worksheet Functions 1 August 17th 06 05:09 PM
import and export from SQL SERVER to Excel sal21[_106_] Excel Programming 1 June 14th 06 10:56 AM
import- export XML in excel without loosing XML format Edwin[_2_] Excel Programming 0 January 31st 04 12:31 AM


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