![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: May 2002
Location: AIS
Posts: 5
|
I'm running a report in Access and then transfering the results to Excel via an Access macro. Problem: fields with large amounts of data in Access are cut off after about 120 characters in Excel. When I copy each Access field individually into Excel, however, all characters appear. Any ideas?
|
|
|
|
|
|
#2 |
|
Board Regular
Join Date: May 2002
Location: Tennessee, USA
Posts: 72
|
Can't you just save the Access file as an Excell file instead of just transferring the data? Or am I missing something?
|
|
|
|
|
|
#3 | |
|
MrExcel MVP
Join Date: Mar 2002
Location: Michigan USA
Posts: 11,452
|
Quote:
You mean in specific reference to an ACCESS Table, SaveAs/Export as an Excel file -- don't you! Regards! [ This Message was edited by: Yogi Anand on 2002-05-21 17:06 ] |
|
|
|
|
|
|
#4 |
|
Board Regular
Join Date: May 2002
Location: Tennessee, USA
Posts: 72
|
Yogi,
Exactly! (I wasn't very clear was I?) For a detailed analysis of Access table records, records that are typically filtered for special situations and shown in the Datasheet View mode, I will Export the data to Excel by selecting File - Export, give the new file an appropriate filename, and then save it as an "Excel 97-2000 (*.xls)" file. That way I can do whatever I want with the data in Excel. Thanks, Wayne [ This Message was edited by: WayneTN on 2002-05-22 10:11 ] |
|
|
|
|
|
#5 |
|
New Member
Join Date: May 2002
Location: AIS
Posts: 5
|
Wayne, Thanks for your interest and recommendations. Unfortunately I exported my results following your instructions and am encountering the same problem. Interestingly this problem doesn't occur when I transfer into Word---but that's another hornet's nest. Is there anything in Excel that can be modified to prevent a long amount of text from being truncated when imported into a cell?
|
|
|
|
|
|
#6 |
|
Board Regular
Join Date: Feb 2002
Location: Guderup, Denmark
Posts: 287
|
Jay Say
I cannot repeat what you are doing. I think your problem is purely visual I can get 254 caracters transfered, with no problem, but it seems like i'm transfering only 120. I Format > cells choose the page where you can adjust the textdirection and Under vertical alingnment choose TOP instead of BOTTOM. Now you should be able to see all caracters. regards Tommy |
|
|
|
|
|
#7 |
|
New Member
Join Date: May 2002
Location: AIS
Posts: 5
|
Tommy,
Thank you for your helpful suggestions. Unfortunately I have been doing what you suggested vis-a vis formatting the cell. Just to check I often put the cursor into the cell and hit the F2 key to see where the line of text ends. What I found really interesting in your remarks was that you can bring into Excel twice the amount of text that I can. This is making me wonder if there is not a setting somewhere in Excel that I can change that would allow me to bring more text within a cell. Anyone have any ideas? [ This Message was edited by: Jay Say on 2002-05-22 14:59 ] |
|
|
|
|
|
#8 |
|
New Member
Join Date: May 2002
Location: AIS
Posts: 5
|
Second reply to Wayne.
Wayne I can't export an entire table of thousands of records into Excel. Besides I am running reports off detailed queries not just applying a filter. |
|
|
|
|
|
#9 |
|
Board Regular
Join Date: Feb 2002
Location: Guderup, Denmark
Posts: 287
|
Jay Say
What type of field are you triing to import? (Memo, Text, or ?) From a memofield I can get 248 caracters, from a textfield 255 When you paste to excel, have you then tried to paste Special (as text) ? regards Tommy |
|
|
|
|
|
#10 |
|
New Member
Join Date: May 2002
Location: AIS
Posts: 5
|
Tommy,
I'm copying from a memo field. When I copy an indivual cell from Access into Excel I am able to bring in all the text. My problem occurs when I run a report in Access and then try to transfer the report results into Excel. Somehow in this transfer my text gets cut. In fact what I usually have to end up doing is copying each cell individually from Access into my Excel Report. This is very time consuming with a large report. Thanks for your interest. [ This Message was edited by: Jay Say on 2002-05-24 09:22 ] [ This Message was edited by: Jay Say on 2002-05-24 09:23 ] [ This Message was edited by: Jay Say on 2002-05-24 09:24 ] |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|