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: 44
Default Format issues...

I am using the folllowing code to get the user to input data in a msgbox and
then the data is stored in the appropriate cell.

Sheets("Milestone").Select
Range("C3").Select
Message = "Enter Customer Name..." ' Set prompt.
MyValue = InputBox(Message, Default)
ActiveCell = MyValue

Range("C4").Select
Message = "Please Enter MS Handover Date..." ' Set prompt.
MyValue = InputBox(Message, Default)
ActiveCell = MyValue

Range("C5").Select
Message = "Please Enter Actual Handover Date..." ' Set prompt.
MyValue = InputBox(Message, Default)
ActiveCell = MyValue

Range("C6").Select
Message = "Please Enter Demo Date..." ' Set prompt.
MyValue = InputBox(Message, Default)
ActiveCell = MyValue

Range("C7").Select
Message = "Please Enter Test & Adjust Date..." ' Set prompt.
MyValue = InputBox(Message, Default)
ActiveCell = MyValue

Most of them work fine, except the MS handover Date and Actual Handover
Date. Both cells have custom format 'ddd dd/mm/yy' However when MS handover
date is entered(eg user enters 13/12/06), it is displayed as 13/12/06 not Wed
13/12/06 as I was hoping for. Then to really mess it up, the Actual handover
date swaps the day and month around.

I know this is something to do with American and English display(Americans
have mm/dd/yy, English have dd/mm/yy) but the cell still shows the format as
ddd dd/mm/yy. I can only suppose it is something to do with VB working in
american, but why does it not affect any other cells,and how can i correct
it, more to the point.

Cheers

--
Dave
 
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
Chart Format issues LiAD Excel Worksheet Functions 0 January 13th 09 08:50 AM
.txt format issues C Brandt Excel Discussion (Misc queries) 1 June 19th 07 10:44 PM
Sumproduct and format issues Curtis Excel Worksheet Functions 4 March 17th 07 10:26 AM
format saving issues Jason - MR Excel Discussion (Misc queries) 0 March 29th 06 09:28 PM
Importing CSV format issues BCS Excel Programming 0 June 8th 04 06:14 PM


All times are GMT +1. The time now is 04:31 PM.

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"