Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
i wall i want to do is have the following msg come up:
Please enter the date you want to use in this format: ?/??/?? and have the data put into a cell of my choice help please |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
ans = Inputbox ("Please enter the date you want to use (in this format
dd/mm/yy):" Range("A1").Value = Format(ans,"dd/mm/yy") change the format to suit -- HTH RP (remove nothere from the email address if mailing direct) "ronald" wrote in message ... i wall i want to do is have the following msg come up: Please enter the date you want to use in this format: ?/??/?? and have the data put into a cell of my choice help please |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Look at Data validation. It can generate a message when a person selects a
cell. If you want to run a macro Sub Macro1() Dim as as String ans = InputBox("Please enter date you want to use in this format: mm/dd/yy") if isdate(ans) then Range("B9").Value = Format(cDate(ans),"mm/dd/yyyy") end if End Sub -- Regards, Tom Ogilvy "ronald" wrote in message ... i wall i want to do is have the following msg come up: Please enter the date you want to use in this format: ?/??/?? and have the data put into a cell of my choice help please |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
lotus uses {?} for input, what does excel use (macros) | New Users to Excel | |||
input in number form is being multiplied by 1000 when i input. | Excel Discussion (Misc queries) | |||
How do I add input data in the input ranges in drop down boxes. | Excel Discussion (Misc queries) | |||
How can I validate data input by macros? | Excel Programming | |||
CODE to select range based on User Input or Value of Input Field | Excel Programming |