Importing External Data problem. Random blank cells.

redpipe67

Board Regular
Joined
Aug 7, 2002
Messages
72
Currently I use this method of importing data from 1 workbook to update a worksheet in another workbook and it works fine. However there are cells dotted about in the worksheet that has been updated from the other workbook that are blank even though the cell in the original workbook contains data. I have checked the cell formatting and everything is on general at both the source and destination so I can't understand why certain cells are not updating and remain blank.

Can anyone explain this and what I need to resolve this issue?

Thank you very much.
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
I believe I found the answer,

In a Database you cannot mix data types, a column must be all numbers or all text.
If there are different data types in the column ADO will copy only the Data type that have the majority.
This code is working in Excel 2000-2003

Does anyone know a way around this?
 
Upvote 0

Forum statistics

Threads
1,217,755
Messages
6,138,421
Members
450,136
Latest member
Tabako1960

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top