Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,253
Default Exporting from Access to Excel

solution:

write your own routine using ADO
examples on www.erlandsendata.no


keepITcool

< email : keepitcool chello nl (with @ and .)
< homepage: http://members.chello.nl/keepitcool


?B?RGFu?= wrote:

Hi!

I am using the TransferSpreadsheet function (in Access) to export an
Access (2003) table to an Excel spreadsheet. The problem is fields
that have more than 255 characters are being truncated to 255 in the
new Excel sheet it created. Any ideas on how to get around this
issue?


Thanks a lot for any help!

Dan



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 593
Default Exporting from Access to Excel

keepITcool wrote ...

write your own routine using ADO


Something less drastic would be to try and do the export using a query
in the MS Access UI e.g. the following result in no truncation in
Access2003:

To create a new Excel table (workbook and/or range will be
automatically created):

SELECT
MyMemoCol
INTO
[Excel 8.0;Database=C:\TotallyNew.xls;].MyNewTable
FROM
MyTable
;

To create a new Excel table:

INSERT INTO
[Excel 8.0;Database=C:\TotallyNew.xls;].MyExisingTable
(MyExcelColumn)
SELECT
MyMemoCol
FROM
MyTable
;

Jamie.

--
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
exporting data from access to excel [email protected] Excel Discussion (Misc queries) 1 April 11th 06 10:17 AM
Exporting data from access to excel vinayak Excel Worksheet Functions 0 April 11th 06 08:20 AM
Exporting an Excel Chart into Access T8RSP Charts and Charting in Excel 0 March 1st 06 02:13 PM
Exporting fields from access to excel Chris Excel Discussion (Misc queries) 1 August 10th 05 01:36 PM
Exporting Excel to Access Jim Alexander Excel Programming 3 October 18th 03 12:30 PM


All times are GMT +1. The time now is 05:47 AM.

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"