LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default My movie list

For the first part, add a custom list (ToolsOptionsCustom Lists), and sort
by that(DataSortOptions)

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"Cecilkumara Fernando" <cekufdo@sltnetDOTlk wrote in message
...
Andrew,
for the last part
change this
* ActiveCell.FormulaR1C1 = Format(ansD, "dd/mm/yy")

to this
With ActiveCell
.FormulaR1C1 = CDate(ansD)
.NumberFormat = "dd/mm/yy;@"
End With

HTH
Cecil
"Andrew" wrote in message
...
cliped
Finally, and this is the one that's been knocking me out trying to fix

it.
How do I add the purchase date to an InputBox, and have it formatted as
"dd/mm/yy"? It always adds it as "mm/dd/yy" I've copied a sample of

the
code I'm using, and marked the problem area with '*'. I've tried

setting
the date as a string, & MovDate as Date, but I can't seem to set the

format.

' Date of purchase

YesNo = MsgBox("Did you purchase the movie today?", vbYesNo,

"Andrew's
Movie List - Date of Purchase")
Select Case YesNo
Case vbYes
Range("D2").Select
ActiveCell.FormulaR1C1 = Format(Date, "dd/mm/yy")
* Case vbNo
* Range("D2").Select
* ansD = InputBox("When did you purchase the movie? -

dd/mm/yy",
"Andrew's Movie List - Date of Purchase")
* ActiveCell.FormulaR1C1 = Format(ansD, "dd/mm/yy")

End Select







 
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
How do I put movie titles in alphabetical order Allan New Users to Excel 3 February 24th 08 02:12 AM
Autofilter for movie database [email protected] Excel Discussion (Misc queries) 4 February 5th 07 05:06 AM
Help with Outlook & a movie list Dick Kusleika[_3_] Excel Programming 1 April 21st 04 12:34 AM
Help with Outlook & a movie list Andrew[_27_] Excel Programming 0 April 2nd 04 10:38 AM
Active movie control ROBERTO Excel Programming 0 January 28th 04 04:41 PM


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