A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Setting up and Configuration
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Input Masks in Excel?



 
 
Thread Tools Display Modes
  #1  
Old May 24th, 2005, 07:00 PM
PattiP
external usenet poster
 
Posts: n/a
Default Input Masks in Excel?

Does Excel have input masks, similar to Access? I would like the user to
enter a date field but not have to insert the "/" marks. Example: enter
032405 and it would show up as 03/24/05. Thanks!
--
Patti
  #2  
Old May 24th, 2005, 07:05 PM
Bob Phillips
external usenet poster
 
Posts: n/a
Default

No, it's all manual.

--
HTH

Bob Phillips

"PattiP" wrote in message
news
Does Excel have input masks, similar to Access? I would like the user to
enter a date field but not have to insert the "/" marks. Example: enter
032405 and it would show up as 03/24/05. Thanks!
--
Patti



  #3  
Old May 24th, 2005, 07:17 PM
PattiP
external usenet poster
 
Posts: n/a
Default

Thanks, Bob. I thought thats what the anwer might be...


"Bob Phillips" wrote:

No, it's all manual.

--
HTH

Bob Phillips

"PattiP" wrote in message
news
Does Excel have input masks, similar to Access? I would like the user to
enter a date field but not have to insert the "/" marks. Example: enter
032405 and it would show up as 03/24/05. Thanks!
--
Patti




  #4  
Old May 24th, 2005, 07:20 PM
PattiP
external usenet poster
 
Posts: n/a
Default

Is there a way to convert the entry, i.e. 032405, and have it show up in
another cell in date format? Some kind of VB code?

"Bob Phillips" wrote:

No, it's all manual.

--
HTH

Bob Phillips

"PattiP" wrote in message
news
Does Excel have input masks, similar to Access? I would like the user to
enter a date field but not have to insert the "/" marks. Example: enter
032405 and it would show up as 03/24/05. Thanks!
--
Patti




  #5  
Old May 24th, 2005, 07:33 PM
Bob Phillips
external usenet poster
 
Posts: n/a
Default

If you have got a lot, take a look at
http://www.xldynamic.com/source/xld.QDEDownload.html

--
HTH

Bob Phillips

"PattiP" wrote in message
...
Is there a way to convert the entry, i.e. 032405, and have it show up in
another cell in date format? Some kind of VB code?

"Bob Phillips" wrote:

No, it's all manual.

--
HTH

Bob Phillips

"PattiP" wrote in message
news
Does Excel have input masks, similar to Access? I would like the user

to
enter a date field but not have to insert the "/" marks. Example:

enter
032405 and it would show up as 03/24/05. Thanks!
--
Patti






  #6  
Old May 24th, 2005, 08:34 PM
Bob Phillips
external usenet poster
 
Posts: n/a
Default

or try this

Private Sub Worksheet_Change(ByVal Target As Range)

On Error GoTo ws_exit:
Application.EnableEvents = False
If Not Intersect(Target, Me.Range("A1:H10")) Is Nothing Then
With Target
.Value = DateSerial(Right(.Value, 2), Left(.Value, Len(.Value) -
4), Mid(.Value, Len(.Value) - 3, 2))
End With
End If

ws_exit:
Application.EnableEvents = True
End Sub

'This is worksheet event code, which means that it needs to be
'placed in the appropriate worksheet code module, not a standard
'code module. To do this, right-click on the sheet tab, select
'the View Code option from the menu, and paste the code in.


--
HTH

Bob Phillips

"Bob Phillips" wrote in message
...
If you have got a lot, take a look at
http://www.xldynamic.com/source/xld.QDEDownload.html

--
HTH

Bob Phillips

"PattiP" wrote in message
...
Is there a way to convert the entry, i.e. 032405, and have it show up in
another cell in date format? Some kind of VB code?

"Bob Phillips" wrote:

No, it's all manual.

--
HTH

Bob Phillips

"PattiP" wrote in message
news Does Excel have input masks, similar to Access? I would like the

user
to
enter a date field but not have to insert the "/" marks. Example:

enter
032405 and it would show up as 03/24/05. Thanks!
--
Patti







 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
I want to delete some customized input masks. Swimfast Database Design 13 March 21st, 2005 10:41 PM
Input masks for postal codes (UK) in Access James General Discussions 4 February 14th, 2005 07:03 PM
Input masks Annie Using Forms 3 February 9th, 2005 08:55 PM
Input Masks mk2 Database Design 1 October 31st, 2004 08:52 PM
input masks Zariah General Discussion 1 October 3rd, 2004 06:22 AM


All times are GMT +1. The time now is 05:46 PM.


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