ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   MS Query Cell Limit (https://www.excelbanter.com/excel-programming/424659-ms-query-cell-limit.html)

Paul W Smith

MS Query Cell Limit
 
I am importing data from an Access DB using a MS query. All work perfectly
apart from the memo fields which contain more the 255 characters of data.
ONly the first 255 characters are imported onto my Excel 2003 worksheet.

Is there any way to import the full contents of a meno field into Excel
using a MS query?

Paul Smith



Dave Peterson

MS Query Cell Limit
 
I don't speak the Access, but Debra Dalgleish once posted this:

Or, transfer the data with code. Use the TransferSpreadsheet method to
send the data, and specify one of the later Excel versions:

'======================
Sub SendTableToExcel()
DoCmd.TransferSpreadsheet acExport, _
acSpreadsheetTypeExcel9, "tblCustomers", _
"c:\Data\ExcelExport.xls", True
End Sub
'===========================


http://groups.google.co.uk/group/mic...cbe18fd9d6d82b

or

http://snipurl.com/1a01v

Paul W Smith wrote:

I am importing data from an Access DB using a MS query. All work perfectly
apart from the memo fields which contain more the 255 characters of data.
ONly the first 255 characters are imported onto my Excel 2003 worksheet.

Is there any way to import the full contents of a meno field into Excel
using a MS query?

Paul Smith


--

Dave Peterson

Paul W Smith

MS Query Cell Limit
 
I asked the question in the Excel programming group because I am controlling
the operation from Excel. I am hoping to get an answer from an Excel
programming perspective.

I have no idea how to use the code below from Excel.

Basically I use MS query to import data and fields come through trncated at
255 chars.

can anyone offer any Excel related advice?

PWS





"Dave Peterson" wrote in message
...
I don't speak the Access, but Debra Dalgleish once posted this:

Or, transfer the data with code. Use the TransferSpreadsheet method to
send the data, and specify one of the later Excel versions:

'======================
Sub SendTableToExcel()
DoCmd.TransferSpreadsheet acExport, _
acSpreadsheetTypeExcel9, "tblCustomers", _
"c:\Data\ExcelExport.xls", True
End Sub
'===========================


http://groups.google.co.uk/group/mic...cbe18fd9d6d82b

or

http://snipurl.com/1a01v

Paul W Smith wrote:

I am importing data from an Access DB using a MS query. All work
perfectly
apart from the memo fields which contain more the 255 characters of data.
ONly the first 255 characters are imported onto my Excel 2003 worksheet.

Is there any way to import the full contents of a meno field into Excel
using a MS query?

Paul Smith


--

Dave Peterson





All times are GMT +1. The time now is 12:53 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com