ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Input Boxes (https://www.excelbanter.com/excel-programming/314902-input-boxes.html)

James Newton

Input Boxes
 
I am currently trying to make a standard template for a
journal request form for my job.

I am using input boxes to ask certain questions and
obviously return the answers in the specified cells
however one question is "Enter the posting date" (make
note I am in the UK so our date format is dd/mm/yy) when I
enter a date 01/10/04 the computer automatically switches
it to 10/01/04 and I have checked the cell formatting and
all is correct.

Can you think of anyway to stop/correct this?

Thanks for your help!


Tom Ogilvy

Input Boxes
 
ans = InputBox("enter Date")
cells(1,1) = cdate(ans)

--
Regards,
Tom Ogilvy


"James Newton" wrote in message
...
I am currently trying to make a standard template for a
journal request form for my job.

I am using input boxes to ask certain questions and
obviously return the answers in the specified cells
however one question is "Enter the posting date" (make
note I am in the UK so our date format is dd/mm/yy) when I
enter a date 01/10/04 the computer automatically switches
it to 10/01/04 and I have checked the cell formatting and
all is correct.

Can you think of anyway to stop/correct this?

Thanks for your help!





All times are GMT +1. The time now is 04:41 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com