A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Links and Linking
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

MSAccess query conversion to excel



 
 
Thread Tools Display Modes
  #1  
Old August 10th, 2004, 01:31 AM
John Baker
external usenet poster
 
Posts: n/a
Default MSAccess query conversion to excel

I have a MSAccess query which contains some memo fields. I am using Office
links to transfer the data to Excel.
There are about 500 characters in some of the memo fields. All the data is
displayed as expected in the query, but when the data is transferred to
Excel the data in the memo field cells is cut off.

Is there a way to make sure all data from a memo field is transferred to
Excel? ( I would be happy with a limit of even 1000 characters)
Any help greatly appreciated

John Baker



  #2  
Old August 10th, 2004, 01:42 AM
Debra Dalgleish
external usenet poster
 
Posts: n/a
Default MSAccess query conversion to excel

In Access, use the TransferSpreadsheet method to send the data, and
specify one of the later Excel versions. You can do this by creating a
macro, or writing some code, e.g.:

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

Then, add a button on a form, to run the macro or the code.

John Baker wrote:
I have a MSAccess query which contains some memo fields. I am using Office
links to transfer the data to Excel.
There are about 500 characters in some of the memo fields. All the data is
displayed as expected in the query, but when the data is transferred to
Excel the data in the memo field cells is cut off.

Is there a way to make sure all data from a memo field is transferred to
Excel? ( I would be happy with a limit of even 1000 characters)
Any help greatly appreciated


--
Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel Query error Patti General Discussion 4 August 10th, 2004 07:58 PM
Linking an Excel worksheet to an Access table Sitara Lal General Discussions 6 August 9th, 2004 10:13 PM
Linking an Excel worksheet to an Access table Ken Snell General Discussion 5 August 9th, 2004 10:13 PM
Struggling with MS Query... Alex General Discussion 5 July 6th, 2004 11:46 AM
Add-in functions when starting Excel programmatically Steve K. Worksheet Functions 11 July 2nd, 2004 06:38 PM


All times are GMT +1. The time now is 11:05 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.