473,406 Members | 2,390 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Import Date Mask for Excel

Greetings All,

Hope you can help me out here. I'm trying to import from Excel but the
default date in Excel is in this format: 12/2/2005 12:49:49 AM (for
example).

What input mask can I use in Access so it will accept it? If it is a
challenge, how can I knock it down to just the date?

TIA.

Jul 6 '06 #1
3 3648

"Jim Vincent" <ga*****@aol.comwrote in message
news:11*********************@l70g2000cwa.googlegro ups.com...
Greetings All,

Hope you can help me out here. I'm trying to import from Excel but the
default date in Excel is in this format: 12/2/2005 12:49:49 AM (for
example).

What input mask can I use in Access so it will accept it? If it is a
challenge, how can I knock it down to just the date?
What trouble are you having? Just for grins, I created an Excel 2003
spreadsheet with two rows, each beginning with a date in the format you
show, and both imported just-fine-thankee into Access 2003, as a Date/Time
field. (I am using U.S. regional settings in my O/S.)

Larry Linson
Microsoft Access MVP
Jul 6 '06 #2
Thanks Larry,

I was able to import it if I set the format as text. It was able to
sort based on that date, so that was not a problem. However, I want to
change the format in the report so it only shows 12/2/2005, skipping
the time part. How might I go about doing that?
Thanks again.

Jim

Larry Linson wrote:
"Jim Vincent" <ga*****@aol.comwrote in message
news:11*********************@l70g2000cwa.googlegro ups.com...
Greetings All,

Hope you can help me out here. I'm trying to import from Excel but the
default date in Excel is in this format: 12/2/2005 12:49:49 AM (for
example).

What input mask can I use in Access so it will accept it? If it is a
challenge, how can I knock it down to just the date?

What trouble are you having? Just for grins, I created an Excel 2003
spreadsheet with two rows, each beginning with a date in the format you
show, and both imported just-fine-thankee into Access 2003, as a Date/Time
field. (I am using U.S. regional settings in my O/S.)

Larry Linson
Microsoft Access MVP
Jul 7 '06 #3
"Jim Vincent" <ga*****@aol.comwrote
I was able to import it if I set the format
as text. It was able to sort based on that
date, so that was not a problem. However,
I want to change the format in the report
so it only shows 12/2/2005, skipping
the time part.
That is, IIRC, one of the formats that is a choice in the Format Property of
the TextBox -- "Short Date."

Larry Linson
Microsoft Access MVP
Jul 7 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Miranda Evans | last post by:
In my application, a text box control resides in a form. The text box control is unbound, but--assuming all edits are passed when the user click a command button on the form--the contents of the...
15
by: daniroy | last post by:
Hello everybody, your help will be very very welcome on a very classic question... I have some Excell Macro background, a little bit of VBA knowledge. I import daily from Internet series of...
8
by: Nick M | last post by:
Hello All, Excellent info here Thanks! I am very new to using access in general and I am on a learning curve. I'm trying to import an excel workbook (with worksheets) into an access db via a...
2
by: madeleine | last post by:
I'm hoping the answer to this is that I'm just doing something silly, but I'm really scratching my head over this one. I'm importing data from multiple workbooks, each workbook has a sheet called...
3
by: andrew | last post by:
Hi, I am trying to develop a database that will store dates in the format - 21.02.2006 rather than the standard 21/02/2006. This is because of the SAP feeds that i am pulling in - since SAP...
1
by: baling | last post by:
Hi.... Hi everybody, i have a code that i make in VBA and know I want to use this code in to VB6. But i don't know how to use that code in to VB 6.0 Please correct this code so i can use it in VB...
1
by: DThreadgill | last post by:
I have a spreadsheet with about 35 tabs that I need to import into one table in Access. I found this link http://www.thescripts.com/forum/thread650662-import+multiple+tabs.html and changed some...
1
by: Doug | last post by:
Hi, I created a short date field. The format is dd/mm/yyyy when displayed. The input mask is set to 99/99/00;0 (default, I didn't type anything). If I edit an existing date, say change...
7
by: TG | last post by:
hi! I am trying to create a sql server table from an excel sheet. Here is the code I have: 'This procedure the xlsx file and dumps it to a table in SQL Server
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.