MrExcel Message Board

Go Back   MrExcel Message Board > Question Forums > Excel Questions

Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only.

Reply
 
Thread Tools Display Modes
Old May 21st, 2002, 04:45 PM   #1
Jay Say
New Member
 
Join Date: May 2002
Location: AIS
Posts: 5
Default

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?
Jay Say is offline   Reply With Quote
Old May 21st, 2002, 05:38 PM   #2
WayneTN
Board Regular
 
WayneTN's Avatar
 
Join Date: May 2002
Location: Tennessee, USA
Posts: 72
Default

Can't you just save the Access file as an Excell file instead of just transferring the data? Or am I missing something?
WayneTN is offline   Reply With Quote
Old May 21st, 2002, 06:05 PM   #3
Yogi Anand
MrExcel MVP
 
Join Date: Mar 2002
Location: Michigan USA
Posts: 11,452
Default

Quote:
On 2002-05-21 16:38, WayneTN wrote:
Can't you just save the Access file as an Excell file instead of just transferring the data? Or am I missing something?
Hi WayneTN:
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 ]
Yogi Anand is offline   Reply With Quote
Old May 22nd, 2002, 11:10 AM   #4
WayneTN
Board Regular
 
WayneTN's Avatar
 
Join Date: May 2002
Location: Tennessee, USA
Posts: 72
Default

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 ]
WayneTN is offline   Reply With Quote
Old May 22nd, 2002, 12:50 PM   #5
Jay Say
New Member
 
Join Date: May 2002
Location: AIS
Posts: 5
Default

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?
Jay Say is offline   Reply With Quote
Old May 22nd, 2002, 01:37 PM   #6
Tommy Bak
Board Regular
 
Join Date: Feb 2002
Location: Guderup, Denmark
Posts: 287
Default

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
Tommy Bak is offline   Reply With Quote
Old May 22nd, 2002, 03:50 PM   #7
Jay Say
New Member
 
Join Date: May 2002
Location: AIS
Posts: 5
Default

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 ]
Jay Say is offline   Reply With Quote
Old May 22nd, 2002, 03:55 PM   #8
Jay Say
New Member
 
Join Date: May 2002
Location: AIS
Posts: 5
Default

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.
Jay Say is offline   Reply With Quote
Old May 23rd, 2002, 01:46 AM   #9
Tommy Bak
Board Regular
 
Join Date: Feb 2002
Location: Guderup, Denmark
Posts: 287
Default

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
Tommy Bak is offline   Reply With Quote
Old May 24th, 2002, 10:21 AM   #10
Jay Say
New Member
 
Join Date: May 2002
Location: AIS
Posts: 5
Default

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 ]
Jay Say is offline   Reply With Quote
Reply

Bookmarks

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 11:20 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
All contents Copyright 1998-2012 by MrExcel Consulting.
diabetic desserts recipes recipes Diabetic Soups Holiday Pizza Recipes Popcorn Recipes Recipes For Microwave Pasta Recipes Casserole Recipes Chili Recipes Curry Recipes Crockpot Recipes Apples Recipes Bread Recipes Vegetarian Recipes Vegetable recipes Desserts Recipes Appetizers Ethnic Recipes Meat Dishes Barbecue Recipes Sauces Recipes Marinade Recipes Low Fat Recipes Frugal Gourmet Kitchen Classics Recipes On The Grill Cook Books Seafood Recipes Cajun Recipes Breads Low Fat Low Fat Breads Bread Machine Recipes Yeast Breads Quick Breads Fat Free Vegetarian Salad Recipes Eggplant Recipes Radish Recipes Tomato Recipes Jalapeno Recipes Potato Recipes Lettuce Recipes Cabbage Recipes Beans Ambrosia Recipes Biscotti Recipes Desserts Low Fat Cookie Recipes Cheesecake Recipes Cake Recipes Pie Recipes Muffin Recipes Custard Recipes Best Appetizers Appetizers Low Fat Salsa Recipes Dip Recipes International Recipes Afghan Recipes Alaska Recipes French Recipes German Recipes Greek Recipes Italian Recipes Spanish Recipes Thai Recipes Korean Recipes Chinese Recipes Mexican Recipes Indian Recipes Beef Recipes Pork Pork & Ham Pork Butts Pork Chop Recipes Pork Ribs Rulled Pork Poultry Recipes Stews Recipes Ground Beef Barbecue Grill Barbecue Smoker All Purpose Sauce BBQ Sauce Barbecue Sauce Carolina BBQ Sauce Pickle Recipes Marinades Smoking Low Fat Appetizers & Dips Low Fat Breakfast Low Fat Cakes Low Fat Cheesecakes Low Fat Cookies Low Fat Desserts Low Fat Fish & Seafood Low Fat Meats Low Fat Pasta Low Fat Pies Low Fat Salads Low Fat Sandwiches Low Fat Sauces & Condiments Low Fat Sides Low Fat Soups Low Fat Vegetarian Baker's Dozen Taste of Home Recipe Book Bon Appetit Cookbook Blacktie Cookbook Buster Cook Book Cookbook USA Cook Book Cook Book Sara's Cookbook Sara's Cookbook Appetizers and Dips Poultry recipes Diabetic recipes Holiday recipes Miscellaneous recipes 110 recipes 1986 Usenet cookbook 2900 recipes Cyberrealm recipes Great sysops of world Specialty recipes Ceideburg recipes Cheese recipes Chili recipes Fruits recipes Garlic recipes Great chefs of NY Londontowne recipes Raisins recipes Recipes for kids US Food Vegetarian recipes Bread recipes Drinks Meat Dishes Brisket recipes Caribou recipes Chicken recipes Filet mignons recipes Pork recipes Swordfish recipes Turkey recipes Pasta recipes Uncategorized recipes Ethnic recipes Canada recipes English recipes Ethiopia recipes Germany recipes Greece recipes Mexican recipes Philippines recipes Welsh recipes Microwave recipes Soups recipes Vegetable recipes Asparagus recipes Barley recipes Brown rice recipes Lentil recipes Mushrooms recipes Salads recipes Wild rice Desserts recipes Cakes recipes Chocolate recipes Cookies recipes Ice cream recipes