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: 16
Default Date Issue in excel vba

Hello all,

i'm having an issue with a date variable in excel vba that i can't
figure out. I hope someone can tell me what's wrong and how come it's
happening.

On one of my spread sheet i have 2 dates. A start date and a end
date. I did some code by creating a module in vb.

DIM Dt1 as date
DIM Dt2 as date

The problem is that when i look at what the value of dt1 and dt2 in
worksheet1, it only shows 12:00am. is there some way that i need to
specified to show the exact date on my sheet?

 
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
Date issue Patrick C. Simonds Excel Worksheet Functions 6 January 7th 09 08:00 PM
Date Issue with Microsoft Excel Adit Shah Excel Discussion (Misc queries) 1 January 14th 08 02:00 PM
Excel date format issue rs-excel Excel Discussion (Misc queries) 1 October 17th 06 11:37 PM
Excel 2003: date display issue Andrew Excel Discussion (Misc queries) 17 July 13th 06 05:36 PM
DATE ISSUE! Joan Excel Worksheet Functions 2 June 15th 06 03:39 PM


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