#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Recognizing data

The problem is next I'm imoprting data from a database and this imported
data consists os from a date_time and value. the problem is next, the time
and date field isn't recognized as such and bacause of this my query to
select a specific date range doesn't work ,however when i click on the field
then it's recognized as a date and time field. I realy can't click on every
field to recognize it.
Does anyone know how to help me.
Thx

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,058
Default Recognizing data

There are two approaches that may help:

1. Use the Import Wizard:
Data Inport External Data Import Data...
and tell the Wizard that the field is a Date

2. Use a small macro to "click-activate" all the cells at once. Select the
cells and run:

Sub wake_up()
Set saveit = Selection
For Each r In saveit
r.Select
Application.SendKeys "{F2}"
Application.SendKeys "{ENTER}"
DoEvents
Next
End Sub




--
Gary''s Student - gsnu2007e


"george" wrote:

The problem is next I'm imoprting data from a database and this imported
data consists os from a date_time and value. the problem is next, the time
and date field isn't recognized as such and bacause of this my query to
select a specific date range doesn't work ,however when i click on the field
then it's recognized as a date and time field. I realy can't click on every
field to recognize it.
Does anyone know how to help me.
Thx


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
Recognizing *.xls files Nevsky Excel Discussion (Misc queries) 6 October 14th 07 03:05 AM
Recognizing Repeating Data-Groups In need of enlightenment[_2_] Excel Discussion (Misc queries) 1 March 19th 07 02:20 PM
Formulas not recognizing new data malakingaso Excel Discussion (Misc queries) 1 February 8th 06 07:27 PM
Recognizing #N/A nebb Excel Worksheet Functions 1 October 19th 05 12:56 AM
Charts not recognizing source data if original linked data is changed. JLC Charts and Charting in Excel 3 October 14th 05 01:29 AM


All times are GMT +1. The time now is 06:18 AM.

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

About Us

"It's about Microsoft Excel"