Export to Excel - Number changes to Text

R

Raja

We recently upgarded to Office (XP) 2002
Whenever I export or copy data from Access and paste it
or open in in Excel all my columns change from a Number
format to a text format. I have to then select the
colums and convert them to Numbers in Excel in order to
add or manipulate them. Does anyone know why this
happens and what I can do to aviod this.......

Help is greatly appreciated
 
O

onedaywhen

Raja said:
Whenever I export or copy data from Access and paste it
or open in in Excel all my columns change from a Number
format to a text format.

It all depends on the workbook. Best thing is to create it with the
correct data types. As a demo, run these two queries from the SQL
window of any MS Access query (Jet 4), then open and inspect the
created workbook:

CREATE TABLE
[Excel 8.0;database=C:\NewWorkbook.xls;].Sheet1
(
MyNumCol INTEGER,
MyTextCol VARCHAR(10),
MyDateCol TIMESTAMP
)
;

INSERT INTO
[Excel 8.0;database=C:\NewWorkbook.xls;].Sheet1
(MyNumCol, MyTextCol, MyDateCol)
VALUES (37000, 37000, 37000)
;

--
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top