Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 44
Default Format issues...

Thanks both of you for that. I think I've got it sorted.

--
Dave


"Kari J Keinonen" wrote:

That code works me. I have Office 2003 (USA Multilanguage Fi)

Private Sub CommandButton1_Click()
Dim MyName As String ' name type string
Dim MSHandoverDate As Date ' MSHdate type Date
Dim ActHandoverDate As Date ' ..
Dim DemoDate As Date ' ..
Dim TestDate As Date ' ..

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

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

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

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

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

Range("C4:C7").Select
Selection.NumberFormat = "ddd dd/mm/yy"

End Sub

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
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:48 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"