473,405 Members | 2,354 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

Importing excel sheets

Hi,
Let say we have an excel sheet with column 1 is a number column say 1
to 100.
The second column has text.

| A | B
1 | ID | Description
2 | 1 | Text1
3 | 2 | Text2
4 | 3 | Text3
| | Text4
| | Text5
| | Text6
| | Text7
5 | 4 | Text8

As you can see Row 4 has Text3 to Text7 in one cell. When I import this
in access since in access 255 is max cell text limit, I get some of the
contents truncated. So I would get Text3,4,5 and not 6 and 7. Is there
anything I can do to maybe seperate the above in Excell or Access so
that I could get all the texts? May be so it would look like this in
Excell?

| A | B
1 | ID | Description
2 | 1 | Text1
3 | 2 | Text2
4 | 3 | Text3
5 | | Text4
6 | | Text5
7 | | Text6
8 | | Text7
9 | 4 | Text8

Thanks

Nov 13 '05 #1
1 1309

Gennady Vayl wrote:
Hi,
Let say we have an excel sheet with column 1 is a number column say 1
to 100.
The second column has text.

| A | B
1 | ID | Description
2 | 1 | Text1
3 | 2 | Text2
4 | 3 | Text3
| | Text4
| | Text5
| | Text6
| | Text7
5 | 4 | Text8

As you can see Row 4 has Text3 to Text7 in one cell. When I import this in access since in access 255 is max cell text limit, I get some of the contents truncated. So I would get Text3,4,5 and not 6 and 7. Is there anything I can do to maybe seperate the above in Excell or Access so
that I could get all the texts? May be so it would look like this in
Excell?

| A | B
1 | ID | Description
2 | 1 | Text1
3 | 2 | Text2
4 | 3 | Text3
5 | | Text4
6 | | Text5
7 | | Text6
8 | | Text7
9 | 4 | Text8

Thanks

No idea.... use ADO or DAO and read a cell at a time? If the length of
the cell contents is over 255, then break the line into chunks of 255
characters, and write each chunk to a new record?

Nov 13 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Michal Maciejczak | last post by:
Is it possible to import data from excel file into php and than put it in mysql database?
7
by: Darren | last post by:
I have been attempting to create a reservation planning form in excel that imports Data from an Access database and inserts that information automaticly into the correct spreed sheet and the...
9
by: jillandgordon | last post by:
I am trying to import an excel file into Access 97. It looks perfectly all right but, every time I try to import it, I get to the lst step and am told that it was not imported due to an error. ...
1
by: javzxp | last post by:
Hi I'd like to use C# to open an existing Excel workbook and save each worksheet it contains into a new Excel file. The name of each new Excel file should be the name of the worksheet copied...
3
by: Conrad F | last post by:
Hello All, I know how to import a specific named excel sheet into a datagrid using ADO.NET by setting up a JET connection and then SELECTing data from the sheet. However, for a real world...
1
by: Geoff Jones | last post by:
Hi I have a question which I hope somebody can answer. I have written a VB application with which I want to import an Excel file, analyze the data within it and do some calculations. There are...
1
by: madeleine.macphail | last post by:
All I'm currently attempting to move us from a spreadsheet based system to a database system. The first phase is to import the data on a regular basis from the spreadsheets to get the database...
0
by: Anish G | last post by:
Hi All, I am getting the below given error while running my application in live server. In my local machine, its working fine. Please help me as it is very urgent for me. Exception from...
0
by: DrewYK | last post by:
I have the project that may never end in front of me. I am creating a routine that will take SpreadSheets from Excel and bring them into Access. I am not using any "DoCmd"s because the goal...
4
by: Harshe | last post by:
hello all, I am trying to code, but i am just stuck after importing one sheet. so here is the gist of what i need help with. In a workbook at the start of the year (january) i will have 4...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.