#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default 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!

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default 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!



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
Input boxes James Excel Discussion (Misc queries) 5 July 23rd 08 07:49 PM
How do I add input data in the input ranges in drop down boxes. oil_driller Excel Discussion (Misc queries) 1 November 9th 05 10:31 PM
Input Boxes carvil16[_2_] Excel Programming 2 January 20th 04 10:19 PM
Can anyone help with input boxes? index[_10_] Excel Programming 3 December 6th 03 12:23 AM
Mask input in input boxes? Eric[_14_] Excel Programming 4 November 29th 03 11:10 AM


All times are GMT +1. The time now is 11:22 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"